78c5637be5
* This lets us override files in /vendor without relying on bind mounts ^.^ Signed-off-by: SamarV-121 <samarvispute121@gmail.com>
24 lines
948 B
Text
24 lines
948 B
Text
on boot
|
|
chown system system /sys/class/leds/white/brightness
|
|
|
|
chown system system /sys/class/leds/white/blink
|
|
chown system system /sys/class/leds/white/duty_pcts
|
|
chown system system /sys/class/leds/white/pause_hi
|
|
chown system system /sys/class/leds/white/pause_lo
|
|
chown system system /sys/class/leds/white/ramp_step_ms
|
|
chown system system /sys/class/leds/white/start_idx
|
|
|
|
chmod 660 /sys/class/leds/white/blink
|
|
chmod 660 /sys/class/leds/white/duty_pcts
|
|
chmod 660 /sys/class/leds/white/pause_hi
|
|
chmod 660 /sys/class/leds/white/pause_lo
|
|
chmod 660 /sys/class/leds/white/ramp_step_ms
|
|
chmod 660 /sys/class/leds/white/start_idx
|
|
|
|
service vendor.light-hal-2-0 /vendor/bin/hw/android.hardware.light@2.0-service
|
|
interface android.hardware.light@2.0::ILight default
|
|
class hal
|
|
user system
|
|
group system
|
|
# shutting off lights while powering-off
|
|
shutdown critical
|