diff options
author | Amith Yamasani <yamasani@google.com> | 2009-07-02 12:08:13 -0700 |
---|---|---|
committer | Amith Yamasani <yamasani@google.com> | 2009-07-02 12:08:13 -0700 |
commit | eefef3234ae1e3b0f2db71415f134c7ec49899fa (patch) | |
tree | cbbd0b2b8523427c8c27c998c50ca15672b20350 | |
parent | 5c49135b032235f82560d5e55b0e4c547506516b (diff) | |
download | core-eefef3234ae1e3b0f2db71415f134c7ec49899fa.tar.gz |
Set the permissions of wifi supplicant file so that system can access it.
Create the required directories and set the correct owner and permissions.
-rw-r--r-- | rootdir/init.rc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index ac066fad2..d318aa3c2 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -78,6 +78,11 @@ loglevel 3 mkdir /data/misc/keystore 0770 keystore keystore mkdir /data/misc/vpn 0770 system system mkdir /data/misc/vpn/profiles 0770 system system + mkdir /data/misc/wifi 0770 wifi system + chown wifi system /data/misc/wifi + touch /data/misc/wifi/wpa_supplicant.conf + chmod 0660 /data/misc/wifi/wpa_supplicant.conf + chown wifi system /data/misc/wifi/wpa_supplicant.conf mkdir /data/local 0771 shell shell mkdir /data/local/tmp 0771 shell shell mkdir /data/data 0771 system system |