land: Set subsystem restart to related
Xiaomi used to do this in the kernel, but it is broken in the OSS kernel due to missing definitions. Remove the broken kernel code and do it in userspace instead. Change-Id: I5822cc209d969f3ada898d1bfbdace9bfdfce177
This commit is contained in:
parent
6fb1a4b432
commit
2f8822331b
1 changed files with 6 additions and 0 deletions
|
@ -388,6 +388,12 @@ on boot
|
||||||
chown root system /sys/class/leds/infrared/transmit
|
chown root system /sys/class/leds/infrared/transmit
|
||||||
chown root system /sys/class/leds/infrared/brightness
|
chown root system /sys/class/leds/infrared/brightness
|
||||||
|
|
||||||
|
# Subsystem restart
|
||||||
|
write /sys/bus/msm_subsys/devices/subsys0/restart_level related
|
||||||
|
write /sys/bus/msm_subsys/devices/subsys1/restart_level related
|
||||||
|
write /sys/bus/msm_subsys/devices/subsys2/restart_level related
|
||||||
|
write /sys/bus/msm_subsys/devices/subsys3/restart_level related
|
||||||
|
|
||||||
on class_start:late_start
|
on class_start:late_start
|
||||||
write /proc/sys/net/ipv6/conf/default/accept_ra_defrtr 1
|
write /proc/sys/net/ipv6/conf/default/accept_ra_defrtr 1
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue