init.common.rc: shutdown ssr_setup early to avoid subsystem restart
We see subsystem restarts happens during shutdown, this leads to
unnecessary FW loading and sometimes kernel panic.
This CL is to stop ssr_setup when framework sets
"sys.shutdown.requested" to avoid subsystem restart.
Bug: 38203024
Test: see ssr_setup shutdown in log
Change-Id: I5a07386e3c75515bea7aa709588d3e45d16bc4f3
(cherry picked from commit ec19a5d0e70f1bab6d81c964391fae7462f57cfb)
diff --git a/init.common.rc b/init.common.rc
index 57e4614..3476703 100644
--- a/init.common.rc
+++ b/init.common.rc
@@ -542,6 +542,8 @@
on property:sys.shutdown.requested=*
stop per_proxy
+ # Disable subsystem restart
+ write /sys/module/subsystem_restart/parameters/disable_restart_work 0x9889deed
service qseecomd /vendor/bin/qseecomd
class core