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:
David Ng 2012-08-22 17:58:07 -07:00
parent 31d02bb903
commit 163d1e915d
1 changed files with 5 additions and 0 deletions

View File

@ -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