Also chown /data/misc/wifi/hostapd.conf

It has been seen on some devices (Huawei Y6) that the file is created by
something else than us to wifi:wifi, which means treble_app can't change
that file.
This commit is contained in:
Pierre-Hugues Husson 2018-12-27 10:46:21 +01:00
parent b421352529
commit 97c4452e48

View File

@ -11,3 +11,4 @@ service phh_on_boot /system/bin/phh-on-boot.sh
on property:sys.boot_completed=1 on property:sys.boot_completed=1
start phh_on_boot start phh_on_boot
chown wifi system /data/misc/wifi chown wifi system /data/misc/wifi
chown system wifi /data/misc/wifi/hostapd.conf