OSDN Git Service

init.x86.rc: set owner/group of wpa_supplicant.conf
authorChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 28 Jun 2019 04:32:38 +0000 (12:32 +0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Fri, 28 Jun 2019 04:32:38 +0000 (12:32 +0800)
init.x86.rc

index 8aebe59..4bc545c 100644 (file)
@@ -23,6 +23,7 @@ on post-fs-data
     mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
     mkdir /data/misc/dhcp 0770 dhcp dhcp
     mkdir /data/system 0775 system system
     mkdir /data/misc/wifi/wpa_supplicant 0770 wifi wifi
     mkdir /data/misc/dhcp 0770 dhcp dhcp
     mkdir /data/system 0775 system system
+    chown wifi wifi /data/misc/wifi/wpa_supplicant.conf
 
     # Set indication (checked by vold) that we have finished this action
     setprop vold.post_fs_data_done 1
 
     # Set indication (checked by vold) that we have finished this action
     setprop vold.post_fs_data_done 1