init: qcom: Add property trigger for subsystem restart sysfs nodes
New property triggers for setting up the proper subsystem restart levels. Change-Id: I519ed48fa1da66f79077bb85bc7adea8a5fbf488
This commit is contained in:
parent
31d02bb903
commit
163d1e915d
|
@ -606,3 +606,8 @@ on property:service.adb.root=1
|
||||||
restart adbd
|
restart adbd
|
||||||
write /sys/class/android_usb/android0/enable 1
|
write /sys/class/android_usb/android0/enable 1
|
||||||
|
|
||||||
|
# Limit to SoC reset (1) and independent SSR (3)
|
||||||
|
on property:persist.sys.ssr.restart_level=1
|
||||||
|
write /sys/module/subsystem_restart/parameters/restart_level 1
|
||||||
|
on property:persist.sys.ssr.restart_level=3
|
||||||
|
write /sys/module/subsystem_restart/parameters/restart_level 3
|
||||||
|
|
Loading…
Reference in New Issue