Skip to content
Snippets Groups Projects
Commit 48d116ed authored by Mike Lockwood's avatar Mike Lockwood
Browse files

init.rc: Fix commands for allowing the system_server to access wpa_supplicant.conf


The touch command does not exist, and the chown commands are unnecessary because
the system_server is in the WIFI group.

Signed-off-by: default avatarMike Lockwood <lockwood@android.com>
parent c989199c
No related branches found
No related tags found
No related merge requests found
......@@ -78,11 +78,10 @@ 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
# give system access to wpa_supplicant.conf for backup and restore
mkdir /data/misc/wifi 0770 wifi wifi
chmod 0770 /data/misc/wifi
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment