sanders: init: /system/vendor -> /vendor

This commit is contained in:
Vachounet
2018-05-15 10:57:48 +02:00
committed by therootlord
parent e8de4d1208
commit 7207d67758
2 changed files with 39 additions and 40 deletions

View File

@@ -1,5 +1,5 @@
# Moto USB configuration
import /system/vendor/etc/init/hw/init.mmi.usb.rc
import /vendor/etc/init/hw/init.mmi.usb.rc
on early-boot
write /sys/module/subsystem_restart/parameters/disable_restart_work 0x0
@@ -219,7 +219,7 @@ on boot
write /sys/module/binder/parameters/debug_mask 0x5
# Pass carrier to wlan
service init_wifi /system/vendor/bin/sh /system/vendor/bin/wlan_carrier_bin.sh
service init_wifi /vendor/bin/sh /vendor/bin/wlan_carrier_bin.sh
class main
user root
group root
@@ -251,20 +251,20 @@ on property:ro.boot.dualsim=false
on property:ro.boot.hwrev=*
start mmi-boot-sh
service adspd /system/vendor/bin/adspd
service adspd /vendor/bin/adspd
class main
socket adspdsock stream 0660 system audio
user audio
group audio input diag
service mmi-boot-sh /system/vendor/bin/sh /system/vendor/bin/init.mmi.boot.sh
service mmi-boot-sh /vendor/bin/sh /vendor/bin/init.mmi.boot.sh
class core
user root
oneshot
disabled
# Sanders uses qcom sensor service
service sensors /system/vendor/bin/sensors.qcom
service sensors /vendor/bin/sensors.qcom
class core
user root
group root
@@ -274,7 +274,7 @@ service charge_only_mode /system/bin/charge_only_mode
group graphics system input
disabled
service thermal-com /system/vendor/bin/thermal-engine --minimode
service thermal-com /vendor/bin/thermal-engine --minimode
class main
user root
disabled
@@ -296,4 +296,4 @@ on property:ro.bootmode=normal
on property:sys.boot_completed=1
# Enable ZRAM on boot_complete
swapon_all /system/vendor/etc/fstab.qcom
swapon_all /vendor/etc/fstab.qcom

View File

@@ -25,7 +25,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
import /system/vendor/etc/init/hw/init.mmi.rc
import /vendor/etc/init/hw/init.mmi.rc
on early-init
mount debugfs debugfs /sys/kernel/debug
@@ -41,7 +41,7 @@ on fs
wait /dev/block/platform/soc/${ro.boot.bootdevice}
symlink /dev/block/platform/soc/${ro.boot.bootdevice} /dev/block/bootdevice
mount_all /system/vendor/etc/fstab.qcom
mount_all /vendor/etc/fstab.qcom
write /proc/sys/vm/swappiness 100
# Keeping following partitions outside fstab file. As user may not have
@@ -480,7 +480,6 @@ on post-fs-data
service charger /charger
class charger
group log
seclabel u:r:charger:s0
disabled
# Allow usb charging to be disabled peristently
@@ -490,13 +489,13 @@ on property:persist.usb.chgdisabled=1
on property:persist.usb.chgdisabled=0
write /sys/class/power_supply/battery/charging_enabled 1
service qseecomd /system/vendor/bin/qseecomd
service qseecomd /vendor/bin/qseecomd
class core
user root
group root
writepid /dev/cpuset/system-background/tasks
service thermal-engine /system/vendor/bin/thermal-engine
service thermal-engine /vendor/bin/thermal-engine
class main
user root
socket thermal-send-client stream 0666 system system
@@ -506,13 +505,13 @@ service thermal-engine /system/vendor/bin/thermal-engine
group root
writepid /dev/cpuset/system-background/tasks
service time_daemon /system/vendor/bin/time_daemon
service time_daemon /vendor/bin/time_daemon
class late_start
user root
group root
writepid /dev/cpuset/system-background/tasks
service audiod /system/vendor/bin/audiod
service audiod /vendor/bin/audiod
class late_start
user system
group system
@@ -524,24 +523,24 @@ on property:persist.env.fastdorm.enabled=true
setprop persist.radio.data_no_toggle 1
#start camera server as daemon
service qcamerasvr /system/vendor/bin/mm-qcamera-daemon
service qcamerasvr /vendor/bin/mm-qcamera-daemon
class late_start
user camera
group camera system inet input graphics
writepid /dev/cpuset/system-background/tasks
service cnd /system/vendor/bin/cnd
service cnd /vendor/bin/cnd
class main
user system
group system wifi inet radio wakelock net_admin
service qseeproxydaemon /system/vendor/bin/qseeproxydaemon
service qseeproxydaemon /vendor/bin/qseeproxydaemon
class late_start
user system
group system
writepid /dev/cpuset/system-background/tasks
service esepmdaemon /system/vendor/bin/esepmdaemon
service esepmdaemon /vendor/bin/esepmdaemon
class core
user system
group nfc
@@ -552,30 +551,30 @@ service wcnss-service /system/bin/wcnss_service
group system wifi radio
oneshot
service adsprpcd /system/vendor/bin/adsprpcd
service adsprpcd /vendor/bin/adsprpcd
class main
user media
group media
service energy-awareness /system/vendor/bin/energy-awareness
service energy-awareness /vendor/bin/energy-awareness
class main
user root
group system
oneshot
service irsc_util /system/vendor/bin/irsc_util "/system/vendor/etc/sec_config"
service irsc_util /vendor/bin/irsc_util "/vendor/etc/sec_config"
class core
user root
oneshot
service imsqmidaemon /system/vendor/bin/imsqmidaemon
service imsqmidaemon /vendor/bin/imsqmidaemon
class main
user system
socket ims_qmid stream 0660 system radio
group radio log diag
writepid /dev/cpuset/system-background/tasks
service imsdatadaemon /system/vendor/bin/imsdatadaemon
service imsdatadaemon /vendor/bin/imsdatadaemon
class main
user system
socket ims_datad stream 0660 system radio
@@ -586,14 +585,14 @@ service imsdatadaemon /system/vendor/bin/imsdatadaemon
on property:vendor.ims.QMI_DAEMON_STATUS=1
start imsdatadaemon
service ims_rtp_daemon /system/vendor/bin/ims_rtp_daemon
service ims_rtp_daemon /vendor/bin/ims_rtp_daemon
class main
user system
socket ims_rtpd stream 0660 system radio
group radio diag inet log
disabled
service imsrcsservice /system/vendor/bin/imsrcsd
service imsrcsservice /vendor/bin/imsrcsd
class main
user system
group radio diag inet log
@@ -604,7 +603,7 @@ on property:vendor.ims.DATA_DAEMON_STATUS=1
start ims_rtp_daemon
start imsrcsservice
service rmt_storage /system/vendor/bin/rmt_storage
service rmt_storage /vendor/bin/rmt_storage
class core
user root
ioprio rt 0
@@ -636,24 +635,24 @@ service hci_filter_root /system/bin/wcnss_filter
disabled
#net_admin capability needed to write rfkill sysfs entry
service fmhal_service /system/vendor/bin/fmhal_service
service fmhal_service /vendor/bin/fmhal_service
class late_start
user bluetooth
group bluetooth net_bt_admin net_admin
disabled
service tftp_server /system/vendor/bin/tftp_server
service tftp_server /vendor/bin/tftp_server
class core
user root
writepid /dev/cpuset/system-background/tasks
service per_mgr /system/vendor/bin/pm-service
service per_mgr /vendor/bin/pm-service
class core
user system
group system net_raw
writepid /dev/cpuset/system-background/tasks
service per_proxy /system/vendor/bin/pm-proxy
service per_proxy /vendor/bin/pm-proxy
class core
user system
group system
@@ -669,12 +668,12 @@ on property:sys.shutdown.requested=*
on property:ro.hw.ecompass=true
enable ecompassd
service netmgrd /system/vendor/bin/netmgrd
service netmgrd /vendor/bin/netmgrd
class main
group radio system wakelock
writepid /dev/cpuset/system-background/tasks
service qti /system/vendor/bin/qti
service qti /vendor/bin/qti
class main
user radio
group radio net_raw oem_2950 usb net_admin
@@ -749,7 +748,7 @@ service iprenew_wigig0 /system/bin/dhcpcd -n
oneshot
on property:ro.hw.dtv=true
insmod /system/lib/modules/isdbt.ko
insmod /vendor/lib/modules/isdbt.ko
service wlan_logging /system/bin/cnss_diag -q -f
class main
@@ -758,7 +757,7 @@ service wlan_logging /system/bin/cnss_diag -q -f
disabled
oneshot
service cnss-daemon /system/vendor/bin/cnss-daemon -n -l
service cnss-daemon /vendor/bin/cnss-daemon -n -l
class late_start
user system
group system inet net_admin wifi
@@ -797,13 +796,13 @@ service dhcpcd_bnep4 /system/bin/dhcpcd -BKLG
disabled
oneshot
service loc_launcher /system/vendor/bin/loc_launcher
service loc_launcher /vendor/bin/loc_launcher
#loc_launcher will start as root and set its uid to gps
class late_start
group gps inet oem_2950 wifi
writepid /dev/cpuset/system-background/tasks
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /system/vendor/etc/msm_irqbalance.conf
service vendor.msm_irqbalance /vendor/bin/msm_irqbalance -f /vendor/etc/msm_irqbalance.conf
class core
user root
group root
@@ -816,10 +815,10 @@ service fm_dl /vendor/bin/init.qti.fm.sh
oneshot
on property:crypto.driver.load=1
insmod /system/lib/modules/qce.ko
insmod /system/lib/modules/qcedev.ko
insmod /vendor/lib/modules/qce.ko
insmod /vendor/lib/modules/qcedev.ko
service atfwd /system/vendor/bin/ATFWD-daemon
service atfwd /vendor/bin/ATFWD-daemon
class late_start
user system
group system radio
@@ -834,7 +833,7 @@ service ril-daemon2 /vendor/bin/hw/rild -c 2
group radio cache inet misc audio log readproc wakelock
capabilities BLOCK_SUSPEND NET_ADMIN NET_RAW
service ssr_setup /system/vendor/bin/ssr_setup
service ssr_setup /vendor/bin/ssr_setup
oneshot
disabled