summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Stultz <john.stultz@linaro.org>2016-04-19 09:24:09 -0700
committerJohn Stultz <john.stultz@linaro.org>2016-05-10 11:27:41 -0700
commitd10663e0a00efedb5d466b1a1d821c9a1b24c99f (patch)
treea3d72f82e4761d208c57ba66bf6362bb3a215aee
parent59e3ba35390632c10709d3d6f25d52acdded7033 (diff)
downloadflo-d10663e0a00efedb5d466b1a1d821c9a1b24c99f.tar.gz
init.flo.rc: Add tweaks to get the remote proc wifi starting automatically
Previously the system would hang if the remoteproc logic was triggered too early. So this punts the wcnss_init serivce till after boot. Many thanks to Vishal Bhoj for providing this tweak over irc. Signed-off-by: John Stultz <john.stultz@linaro.org>
-rw-r--r--init.flo.rc8
1 files changed, 5 insertions, 3 deletions
diff --git a/init.flo.rc b/init.flo.rc
index d45c086..d9fb3fe 100644
--- a/init.flo.rc
+++ b/init.flo.rc
@@ -385,10 +385,12 @@ service thermald /system/bin/thermald
# user camera
# group camera system inet input
+on property:sys.boot_completed=1
+ start wcnss_init
+
service wcnss_init /system/bin/init.flo.wifi.sh
- class late_start
- user system
- group system wifi
+ user root
+ group root root
oneshot
service bdAddrLoader /system/bin/bdAddrLoader -f /persist/bluetooth/.bdaddr -h -x