diff options
author | Niranjan Pendharkar <npendhar@codeaurora.org> | 2018-05-31 12:08:28 -0700 |
---|---|---|
committer | Cosme Domínguez Díaz <cosme.ddiaz@gmail.com> | 2018-06-29 20:40:51 +0200 |
commit | b6c75d8d2fd47ff5df921eee56612f4b759b65a1 (patch) | |
tree | bddcc52bea328c5e0e2f89f473fcd8ace58f3adf | |
parent | a511336c741c538414bfce8812e9dd0155713502 (diff) |
msm8996-common: Use low level shutdown trigger to stop cnss-daemon
Low level shutdown is triggered after SystemServer is
cleaned up. sys.shutdown.requested is private to SystemServer
and is used to syncrhonize the shutdown process if SystemServer
crashes before hardware reboot is complete.
Native daemons must use low level shutdown indication from
powermanager for their graceful shutdown, if they wish to stop
before init terminates the process.
Change-Id: Ia583f7dce6f1927d9b766fdc132f082b409f4d67
-rw-r--r-- | rootdir/etc/init.qcom.rc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index a077372..2fa856f 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -471,7 +471,7 @@ service cnss-daemon /vendor/bin/cnss-daemon -n -l user system group system inet net_admin wifi -on property:sys.shutdown.requested=* +on property:sys.powerctl=* stop cnss-daemon service loc_launcher /vendor/bin/loc_launcher |