summaryrefslogtreecommitdiffstats
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-02-04 18:37:36 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2014-02-04 18:37:36 +0000
commit7e3d72d974d21932c2a6a0323c59fed2f689d323 (patch)
tree7e5b785fc300cb71c3c81f197d25974f501edaa6 /rootdir/init.rc
parent77b230233178e853dccfe9ca0ee52c78e2a2579b (diff)
parentba023b063d25b73923f2df536b6258967f756ff6 (diff)
downloadsystem_core-7e3d72d974d21932c2a6a0323c59fed2f689d323.zip
system_core-7e3d72d974d21932c2a6a0323c59fed2f689d323.tar.gz
system_core-7e3d72d974d21932c2a6a0323c59fed2f689d323.tar.bz2
am ba023b06: Merge "Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file."
* commit 'ba023b063d25b73923f2df536b6258967f756ff6': Move creation of /data/misc/wifi and /data/misc/dhcp to main init.rc file.
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc6
1 files changed, 5 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 1aafaa3..8a1cb26 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -226,8 +226,12 @@ on post-fs-data
restorecon_recursive /data/misc/zoneinfo
mkdir /data/misc/vpn 0770 system vpn
mkdir /data/misc/systemkeys 0700 system system
- # give system access to wpa_supplicant.conf for backup and restore
mkdir /data/misc/wifi 0770 wifi wifi
+ mkdir /data/misc/wifi/sockets 0770 wifi wifi
+ restorecon_recursive /data/misc/wifi/sockets
+ mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
+ mkdir /data/misc/dhcp 0770 dhcp dhcp
+ # give system access to wpa_supplicant.conf for backup and restore
chmod 0660 /data/misc/wifi/wpa_supplicant.conf
mkdir /data/local 0751 root root
mkdir /data/misc/media 0700 media media