init: Change ownership of wifi firmware reload sysfs paths
This will let the wifi hal run as "wifi" user and not need root permissions to access this path for firmware reloads. Bug: 33435250 Test: Compiles. Change-Id: I84a38cea5e0f729147c3191c3485a3738d7838ef
This commit is contained in:
@@ -35,6 +35,9 @@ on early-init
|
||||
symlink /data/tombstones /tombstones
|
||||
mkdir /dsp 0771 media media
|
||||
|
||||
# Wifi firmware reload path
|
||||
chown wifi wifi /sys/module/wlan/parameters/fwpath
|
||||
|
||||
on fs
|
||||
wait /dev/block/platform/soc/${ro.boot.bootdevice}
|
||||
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
|
||||
|
||||
Reference in New Issue
Block a user