device_phh_treble/vndk.rc
Pierre-Hugues Husson 97c4452e48 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.
2018-12-27 10:46:21 +01:00

15 lines
490 B
Plaintext

on post-fs
exec - root -- /system/bin/vndk-detect
exec - root -- /system/bin/rw-system.sh
mount none /system/etc/usb_audio_policy_configuration.xml /vendor/etc/usb_audio_policy_configuration.xml bind
export LD_CONFIG_FILE /system/etc/ld.config.${persist.sys.vndk}.txt
service phh_on_boot /system/bin/phh-on-boot.sh
oneshot
disabled
on property:sys.boot_completed=1
start phh_on_boot
chown wifi system /data/misc/wifi
chown system wifi /data/misc/wifi/hostapd.conf