land: init.qcom.rc: Add rule of stop cnss-daemon during device shutdown
Stop cnss-daemon when device shutdown. This is required by peripheral manager as cnss-daemon vote for modem when service is started. It needs to release vote when device shutdown. Change-Id: I48c8bcab673280ab5f725ffdb4625994f2078b8f CRs-Fixed: 1051868
This commit is contained in:
parent
d4813acfc3
commit
d2617443b0
1 changed files with 3 additions and 0 deletions
|
@ -668,6 +668,9 @@ service cnss-daemon /system/bin/cnss-daemon -n -l
|
||||||
user system
|
user system
|
||||||
group system inet net_admin wifi
|
group system inet net_admin wifi
|
||||||
|
|
||||||
|
on property:sys.shutdown.requested=*
|
||||||
|
stop cnss-daemon
|
||||||
|
|
||||||
service loc_launcher /system/bin/loc_launcher
|
service loc_launcher /system/bin/loc_launcher
|
||||||
#loc_launcher will start as root and set its uid to gps
|
#loc_launcher will start as root and set its uid to gps
|
||||||
class late_start
|
class late_start
|
||||||
|
|
Loading…
Reference in a new issue