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
diff --git a/prebuilt/common/etc/init.local.rc b/prebuilt/common/etc/init.local.rc
index f0331ff..099e212 100644
--- a/prebuilt/common/etc/init.local.rc
+++ b/prebuilt/common/etc/init.local.rc
@@ -116,6 +116,12 @@
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