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
@ -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