init: stop ril daemons if ro.radio.noril is set

* no reason to leave these spinning if the noril prop is enabled

Change-Id: If52381962282f2c2955a743b57fbec10edb8199e
This commit is contained in:
Dan Pasanen 2015-04-30 17:15:11 -05:00 committed by Gerrit Code Review
parent 655d8d6e0f
commit 15e432d8ee

View File

@ -116,6 +116,12 @@ on property:service.adb.tcp.port=-1
stop adbd
start adbd
# Disable ril services if noril prop is set
on property:ro.radio.noril=1
stop ril-daemon
stop qmuxd
stop netmgrd
on property:persist.radio.noril=1
setprop ro.radio.noril 1