land: rootdir: Clean out init - part 2

Change-Id: I3819d3964f7e482fd8d0455a363399d4fc6bd83a
This commit is contained in:
Zhao Wei Liew 2016-11-11 16:17:13 +08:00
parent a29e7c7eb5
commit 995de1847f

View file

@ -567,18 +567,11 @@ service sensors /system/bin/sensors.qcom
user root
group root
on property:ro.use_data_netmgrd=false
# netmgr not supported on specific target
stop netmgrd
# Adjust socket buffer to enlarge TCP receive window for high bandwidth
# Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
# but only if ro.data.large_tcp_window_size property is set.
on property:ro.data.large_tcp_window_size=true
write /proc/sys/net/ipv4/tcp_adv_win_scale 2
on property:sys.sysctl.tcp_adv_win_scale=*
write /proc/sys/net/ipv4/tcp_adv_win_scale ${sys.sysctl.tcp_adv_win_scale}
service p2p_supplicant /system/bin/wpa_supplicant \
-ip2p0 -Dnl80211 -c/data/misc/wifi/p2p_supplicant.conf \
-I/system/etc/wifi/p2p_supplicant_overlay.conf -N \
@ -721,28 +714,6 @@ service qcom-sh /system/bin/sh /init.qcom.sh
user root
oneshot
service qti-testscripts /system/bin/sh /system/etc/init.qcom.testscripts.sh
class late_start
user root
disabled
oneshot
seclabel u:r:qti-testscripts:s0
service wifi-sdio-on /system/bin/sh /system/etc/init.qcom.sdio.sh
class late_start
group wifi inet
disabled
oneshot
service wifi-crda /system/bin/sh /system/etc/init.crda.sh
class late_start
user root
disabled
oneshot
on property:sys.boot_completed=1
start qti-testscripts
service atfwd /system/bin/ATFWD-daemon
class late_start
user system
@ -755,10 +726,6 @@ service hostapd /system/bin/hostapd -dd /data/hostapd/hostapd.conf
oneshot
disabled
on property:ro.data.large_tcp_window_size=true
# Adjust socket buffer to enlarge TCP receive window for high bandwidth (e.g. DO-RevB)
write /proc/sys/net/ipv4/tcp_adv_win_scale 2
service ril-daemon2 /system/bin/rild -c 2
class main
socket rild2 stream 660 root radio
@ -804,7 +771,7 @@ on property:sys.qbcharger.enable=true
on property:sys.qbcharger.enable=false
stop qbcharger
#+first boot,jiangtao.wt,add 20150810
on property:sys.installed.running=1
write /sys/power/wake_lock InstalldWakeLock
@ -853,21 +820,6 @@ on property:sys.wfdservice=enable
on property:sys.wfdservice=disable
stop wfdservice
# Coresight early boot service
service cs-early-boot /system/bin/sh /persist/coresight/qdss.agent.sh early-boot /system/etc/init.qcom.debug.sh
class core
user root
oneshot
# Coresight post boot servive
service cs-post-boot /system/bin/sh /persist/coresight/qdss.agent.sh
user root
disabled
oneshot
on property:sys.boot_completed=1
start cs-post-boot
on property:sys.dbg.coresight.enable=1
write /persist/coresight/enable 1
@ -923,34 +875,34 @@ on property:persist.usb.chgdisabled=0
write /sys/class/power_supply/battery/charging_enabled 1
service qseecomd /system/bin/qseecomd
class core
user root
group root
class core
user root
group root
service perfd /system/vendor/bin/perfd
class main
user root
socket perfd seqpacket 0666 root system
disabled
writepid /dev/cpuset/system-background/tasks
class main
user root
socket perfd seqpacket 0666 root system
disabled
writepid /dev/cpuset/system-background/tasks
service thermal-engine /system/vendor/bin/thermal-engine
class main
user root
socket thermal-send-client stream 0666 system system
socket thermal-recv-client stream 0660 system system
socket thermal-recv-passive-client stream 0666 system system
group root
class main
user root
socket thermal-send-client stream 0666 system system
socket thermal-recv-client stream 0660 system system
socket thermal-recv-passive-client stream 0666 system system
group root
service time_daemon /system/bin/time_daemon
class late_start
user root
group root
class late_start
user root
group root
service audiod /system/bin/audiod
class late_start
user system
group system
class late_start
user system
group system
service wcnss-service /system/bin/wcnss_service
class main
@ -978,17 +930,17 @@ on property:sys.ims.QMI_DAEMON_STATUS=1
start imsdatadaemon
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 diag inet log
disabled
class main
user system
socket ims_rtpd stream 0660 system radio
group radio net_raw diag diag inet log
disabled
service imscmservice /system/bin/imscmservice
class main
user system
group radio net_raw diag diag log
disabled
class main
user system
group radio net_raw diag diag log
disabled
on property:sys.ims.DATA_DAEMON_STATUS=1
start ims_rtp_daemon