diff options
author | Nick Kralevich <nnk@google.com> | 2014-02-04 18:31:51 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-02-04 18:31:51 +0000 |
commit | ba023b063d25b73923f2df536b6258967f756ff6 (patch) | |
tree | 6667cabf5bd02bbd414d2d9fe1436a9d683a26fb /rootdir/init.rc | |
parent | 3faf86c0d4b98e7d26edbe8d1c8a8a231c86a234 (diff) | |
parent | 82e87ed4799b12b7bd2e20a6fe5fdc19e0350fc3 (diff) | |
download | system_core-ba023b063d25b73923f2df536b6258967f756ff6.zip system_core-ba023b063d25b73923f2df536b6258967f756ff6.tar.gz system_core-ba023b063d25b73923f2df536b6258967f756ff6.tar.bz2 |
Merge "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.rc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index a32366c..fa1ddd4 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -217,8 +217,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 |