summaryrefslogtreecommitdiff
path: root/rootdir/etc/init.qcom.rc
diff options
context:
space:
mode:
authorJaekyun Seok <jaekyun@google.com>2018-08-18 21:13:46 -0400
committerTingyiChen <tingyi364@gmail.com>2019-08-13 11:47:04 +0200
commitf5b13b46cb52d54d3d3583428522fb00af83134d (patch)
tree8f6dafb46c6533c5dc56f24d948e5dfa20c28ca1 /rootdir/etc/init.qcom.rc
parent75595b3414fc062586008d3e30dff6093ac71ca9 (diff)
wayne-common: rootdir: Add 'vendor.' prefix to a vendor HAL service name
* To prevent property name collisions between properties of system and vendor, 'vendor.' prefix must be added to a vendor HAL service name. You can see the details in go/treble-sysprop-compatibility documents. Test: succeeded building and tested on a sailfish device. Bug: 36796459 Change-Id: I48e6ee0ae3fe401e39efb273256d991fac676357
Diffstat (limited to 'rootdir/etc/init.qcom.rc')
-rwxr-xr-xrootdir/etc/init.qcom.rc88
1 files changed, 44 insertions, 44 deletions
diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc
index 18fb103..41fefcd 100755
--- a/rootdir/etc/init.qcom.rc
+++ b/rootdir/etc/init.qcom.rc
@@ -425,7 +425,7 @@ on post-fs-data
#Create FTM_AP dir for factory test
mkdir /data/FTM_AP 0775 system system
-service ssr_setup /system/vendor/bin/ssr_setup
+service vendor.ssr_setup /system/vendor/bin/ssr_setup
oneshot
disabled
@@ -442,7 +442,7 @@ on property:persist.sys.pil_proxy_timeout=*
write /sys/module/peripheral_loader/parameters/proxy_timeout_ms ${persist.sys.pil_proxy_timeout}
on property:persist.sys.ssr.restart_level=*
- start ssr_setup
+ start vendor.ssr_setup
on property:persist.sys.ssr.enable_ramdumps=1
write /sys/module/subsystem_restart/parameters/enable_ramdumps 1
@@ -471,107 +471,107 @@ on property:persist.debug.trace=1
write /proc/sys/kernel/core_pattern "/data/core/%E.%p.%e"
on property:sys.ftmd=1
- start ftmd
+ start vendor.ftmd
on property:ro.bluetooth.ftm_enabled=true
- start ftmd
+ start vendor.ftmd
-service qcom-c_main-sh /vendor/bin/init.class_main.sh
+service vendor.qcom-c_main-sh /vendor/bin/init.class_main.sh
class main
user root
oneshot
on property:vold.decrypt=trigger_restart_framework
- start qcom-c_main-sh
+ start vendor.qcom-c_main-sh
start config_bt_addr
start wcnss-service
on property:persist.env.fastdorm.enabled=true
setprop persist.radio.data_no_toggle 1
-service cnd /system/vendor/bin/cnd
+service vendor.cnd /system/vendor/bin/cnd
class main
user system
group system wifi inet radio wakelock net_admin
-service dpmQmiMgr /system/vendor/bin/dpmQmiMgr
+service vendor.dpmQmiMgr /system/vendor/bin/dpmQmiMgr
class main
user system
group system
-service irsc_util /vendor/bin/irsc_util "/vendor/etc/sec_config"
+service vendor.irsc_util /vendor/bin/irsc_util "/vendor/etc/sec_config"
class core
user root
oneshot
-service rmt_storage /vendor/bin/rmt_storage
+service vendor.rmt_storage /vendor/bin/rmt_storage
class core
user root
shutdown critical
ioprio rt 0
-service tftp_server /vendor/bin/tftp_server
+service vendor.tftp_server /vendor/bin/tftp_server
class core
user root
on property:wc_transport.start_hci=true
- start start_hci_filter
+ start vendor.start_hci_filter
on property:wc_transport.start_hci=false
- stop start_hci_filter
+ stop vendor.start_hci_filter
-service start_hci_filter /system/vendor/bin/wcnss_filter
+service vendor.start_hci_filter /system/vendor/bin/wcnss_filter
class late_start
user bluetooth
group bluetooth diag system wakelock
seclabel u:r:bluetooth:s0
disabled
-service ftmd /system/bin/logwrapper /system/vendor/bin/ftmdaemon
+service vendor.ftmd /system/bin/logwrapper /system/vendor/bin/ftmdaemon
class late_start
user root
group bluetooth net_bt_admin misc diag net_bt
disabled
oneshot
-service port-bridge /system/vendor/bin/port-bridge
+service vendor.port-bridge /system/vendor/bin/port-bridge
class main
user radio system
group radio system inet
disabled
oneshot
-service netmgrd /system/vendor/bin/netmgrd
+service vendor.netmgrd /system/vendor/bin/netmgrd
class main
disabled
-service ipacm-diag /system/vendor/bin/ipacm-diag
+service vendor.ipacm-diag /system/vendor/bin/ipacm-diag
class main
user radio
socket ipacm_log_file dgram 660 radio radio
group radio diag oem_2901
disabled
-service ipacm /system/vendor/bin/ipacm
+service vendor.ipacm /system/vendor/bin/ipacm
class main
user radio
group radio inet
disabled
-service qti /system/vendor/bin/qti
+service vendor.qti /system/vendor/bin/qti
class main
user radio
group radio oem_2901 diag usb net_admin
disabled
-service sensors /vendor/bin/sensors.qcom
+service vendor.sensors /vendor/bin/sensors.qcom
class core
user root
group root
on property:ro.use_data_netmgrd=false
# netmgr not supported on specific target
- stop netmgrd
+ stop vendor.netmgrd
# Adjust socket buffer to enlarge TCP receive window for high bandwidth
# but only if ro.data.large_tcp_window_size property is set.
@@ -611,7 +611,7 @@ service vendor.wigig_supplicant /vendor/bin/hw/wpa_supplicant \
oneshot
# FST Manager with hostapd (softap) - all settings inside ini file
-service fstman /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini
+service vendor.fstman /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini
user wifi
group wifi net_admin net_raw
class main
@@ -619,7 +619,7 @@ service fstman /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini
oneshot
# FST Manager with supplicant - connect to supplicant socket
-service fstman_wlan0 /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini @android:wpa_wlan0
+service vendor.fstman_wlan0 /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini @android:wpa_wlan0
user wifi
group wifi net_admin net_raw
class main
@@ -627,24 +627,24 @@ service fstman_wlan0 /vendor/bin/fstman -B -ddd -c /data/vendor/wifi/fstman.ini
oneshot
on property:netd.fstman.start=true
- start fstman
+ start vendor.fstman
on property:netd.fstman.start=false
- stop fstman
+ stop vendor.fstman
on property:persist.vendor.wigig.enable=1
insmod /vendor/lib/modules/wil6210.ko alt_ifname=1
-service cnss-daemon /system/vendor/bin/cnss-daemon -n -l
+service vendor.cnss-daemon /system/vendor/bin/cnss-daemon -n -l
class late_start
user system
group system inet net_admin wifi
capabilities NET_ADMIN
on property:sys.shutdown.requested=*
- stop cnss-daemon
+ stop vendor.cnss-daemon
-service loc_launcher /system/vendor/bin/loc_launcher
+service vendor.loc_launcher /system/vendor/bin/loc_launcher
#loc_launcher will start as root and set its uid to gps
class late_start
group gps inet diag wifi
@@ -653,33 +653,33 @@ on property:crypto.driver.load=1
insmod /system/lib/modules/qce.ko
insmod /system/lib/modules/qcedev.ko
-service qcom-sh /vendor/bin/init.qcom.sh
+service vendor.qcom-sh /vendor/bin/init.qcom.sh
class late_start
user root
oneshot
-service qcom-post-boot /vendor/bin/init.qcom.post_boot.sh
+service vendor.qcom-post-boot /vendor/bin/init.qcom.post_boot.sh
class late_start
user root
disabled
oneshot
on property:sys.boot_completed=1
- start qcom-post-boot
+ start vendor.qcom-post-boot
-service qvop-daemon /vendor/bin/qvop-daemon
+service vendor.qvop-daemon /vendor/bin/qvop-daemon
class late_start
user system
group system drmrpc
-service atfwd /vendor/bin/ATFWD-daemon
+service vendor.atfwd /vendor/bin/ATFWD-daemon
class late_start
user system
group system radio
disabled
on property:persist.radio.atfwd.start=true
- start atfwd
+ start vendor.atfwd
service hostapd_fst /vendor/bin/hostapd -dd -g /data/vendor/wifi/hostapd/global /data/misc/wifi/hostapd.conf
class late_start
@@ -699,7 +699,7 @@ 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 /vendor/bin/hw/rild -c 2
+service vendor.ril-daemon2 /vendor/bin/hw/rild -c 2
class main
socket rild2 stream 660 root radio
socket rild-debug2 stream 660 radio system
@@ -708,7 +708,7 @@ service ril-daemon2 /vendor/bin/hw/rild -c 2
group radio cache inet misc audio sdcard_r sdcard_rw diag oem_2901 log
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
-service ril-daemon3 /vendor/bin/hw/rild -c 3
+service vendor.ril-daemon3 /vendor/bin/hw/rild -c 3
class main
socket rild3 stream 660 root radio
socket rild-debug3 stream 660 radio system
@@ -722,7 +722,7 @@ service charger /charger
group system graphics
seclabel u:r:healthd:s0
-service ssr_diag /system/vendor/bin/ssr_diag
+service vendor.ssr_diag /system/vendor/bin/ssr_diag
class late_start
user system
group system
@@ -736,16 +736,16 @@ on property:sys.qbcharger.enable=true
start qbcharger
on property:sys.qbcharger.enable=false
- stop qbcharger
+ stop vendor.qbcharger
-service diag_mdlog_start /system/vendor/bin/diag_mdlog
+service vendor.diag_mdlog_start /system/vendor/bin/diag_mdlog
class late_start
user shell
group system diag oem_2901 sdcard_rw sdcard_r media_rw
disabled
oneshot
-service diag_mdlog_stop /system/vendor/bin/diag_mdlog -k
+service vendor.diag_mdlog_stop /system/vendor/bin/diag_mdlog -k
class late_start
user shell
group system diag oem_2901 sdcard_rw sdcard_r media_rw
@@ -753,9 +753,9 @@ service diag_mdlog_stop /system/vendor/bin/diag_mdlog -k
oneshot
on property:persist.sys.mdlog.enable=true
- start diag_mdlog_start
+ start vendor.diag_mdlog_start
on property:persist.sys.mdlog.enable=false
- start diag_mdlog_stop
+ start vendor.diag_mdlog_stop
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf
class core
@@ -778,7 +778,7 @@ service vendor.msm_irqbl_sdm630 /vendor/bin/msm_irqbalance -f /system/vendor/etc
on charger
setprop persist.sys.usb.config mass_storage
load_system_props
- start qcom-post-boot
+ start vendor.qcom-post-boot
on property:init.svc.surfaceflinger=restarting
stop hwcomposer-2-1