ODPM: Fix rail selection file permissions
Test: Ensure that enabled_rails has system/system permissions Bug: 228112997 Change-Id: I9627b35c6294aefb98e0e957f2a6b64aab0c2ae1
This commit is contained in:
parent
78364766c5
commit
87b68b782d
2 changed files with 3 additions and 5 deletions
|
@ -894,11 +894,6 @@ on post-fs-data
|
|||
chown bluetooth system /proc/bluetooth/sleep/lpm
|
||||
chown bluetooth system /proc/bluetooth/sleep/btwrite
|
||||
|
||||
# ODPM
|
||||
on fs
|
||||
chown system system /sys/devices/platform/acpm_mfd_bus@18100000/i2c-7/i2c-s2mpg12mfd/s2mpg12-meter/s2mpg12-odpm/iio\:device0/enabled_rails
|
||||
chown system system /sys/devices/platform/acpm_mfd_bus@18110000/i2c-8/i2c-s2mpg13mfd/s2mpg13-meter/s2mpg13-odpm/iio\:device1/enabled_rails
|
||||
|
||||
on post-fs-data
|
||||
mkdir /data/vendor/powerstats 0771 system system
|
||||
chown system system /data/vendor/powerstats
|
||||
|
|
|
@ -217,3 +217,6 @@
|
|||
|
||||
# Wlan
|
||||
/dev/wlan 0660 wifi wifi
|
||||
|
||||
# ODPM
|
||||
/sys/bus/iio/devices/iio:device* enabled_rails 0660 system system
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue