summaryrefslogtreecommitdiff
path: root/rootdir/init.qcom.rc
diff options
context:
space:
mode:
authornailyk-fr <nailyk_git@nailyk.fr>2017-04-11 17:28:04 +0200
committernailyk-fr <nailyk_git@nailyk.fr>2017-04-27 11:44:55 +0000
commitd775eb2fa0119cef7553d3acf3f63228473da755 (patch)
tree6e68b9ee81248c9687b498ed48aedd376f465b4d /rootdir/init.qcom.rc
parentf947742c778daa0c998348aaa3f3fd22537c41d0 (diff)
shinano-common: init: Reorder services startup
* Some services where started too early and caused unexpected behaviors. Encrypt the device broke ril, sometimes initcredmgrd start after other criticals services. Moves those services to late_start class. * Remove uneeded class on disabled services. Change-Id: I5a0b7175ee3c73b62ed79adf0c35d0ea8c4f0844
Diffstat (limited to 'rootdir/init.qcom.rc')
-rw-r--r--rootdir/init.qcom.rc11
1 files changed, 4 insertions, 7 deletions
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index fbcd022..5204ae8 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -408,8 +408,9 @@ service macaddrsetup /system/bin/macaddrsetup /sys/devices/platform/bcmdhd_wlan/
class late_start
user root
oneshot
+
service netmgrd /system/bin/netmgrd
- class main
+ class late_start
on property:ro.radio.noril=true
stop ril-daemon
@@ -481,9 +482,8 @@ service suntrold /system/bin/suntrold
# Modem Log QMI service
service mlog_qmi_service /system/bin/mlog_qmi_service
+ class late_start
user root
- class main
- disabled
# Thermal Manager service
service thermanager /system/bin/thermanager /system/etc/thermanager.xml
@@ -567,13 +567,12 @@ service mediadrm /system/bin/mediadrmserver
seclabel u:r:uim:s0
service imsqmidaemon /system/bin/imsqmidaemon
- class main
+ class late_start
user system
socket ims_qmid stream 0660 system radio
group radio net_raw log qcom_diag
service imsdatadaemon /system/bin/imsdatadaemon
- class main
user system
socket ims_datad stream 0660 system radio
group system wifi radio inet net_raw log qcom_diag net_admin
@@ -585,14 +584,12 @@ on property:sys.ims.DATA_DAEMON_STATUS=1
service ims_rtp_daemon /system/bin/ims_rtp_daemon
- class main
user system
socket ims_rtpd stream 0660 system radio
group radio net_raw diag qcom_diag log inet
disabled
service imscmservice /system/bin/imscmservice
- class main
user system
group radio net_raw diag qcom_diag log
disabled