sanders: use /system/vendor/bin/sh for init scripts

* For real

Change-Id: I41419e2b0f8746d94ca3b4b52af9e4bcade72f17
This commit is contained in:
Vachounet
2018-01-21 06:56:10 +01:00
committed by Keertesh
parent bbc3935e59
commit 33f55353f1
4 changed files with 6 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
#!/system/bin/sh
#!/system/vendor/bin/sh
PATH=/sbin:/system/vendor/bin
export PATH

View File

@@ -1,4 +1,4 @@
#!/system/bin/sh
#!/system/vendor/bin/sh
scriptname=${0##*/}
dbg_on=1
debug()

View File

@@ -162,7 +162,7 @@ on boot
chmod 0660 /sys/module/phy_msm_usb/parameters/host_mode_disable
chown root oem_5004 /sys/devices/soc/7000000.ssusb/disable_id_pin
chmod 0220 /sys/devices/soc/7000000.ssusb/disable_id_pin
#change ownership and permission for LTR559
chown system system /sys/class/sensors/Rear\ Proximity\ sensor/enable
chown system system /sys/class/sensors/Rear\ Proximity\ sensor/poll_delay
@@ -219,7 +219,7 @@ on boot
write /sys/module/binder/parameters/debug_mask 0x5
# Pass carrier to wlan
service init_wifi /system/vendor/bin/wlan_carrier_bin.sh
service init_wifi /system/vendor/bin/sh /system/vendor/bin/wlan_carrier_bin.sh
class main
user root
group root
@@ -257,7 +257,7 @@ service adspd /system/vendor/bin/adspd
user audio
group audio input diag
service mmi-boot-sh /system/vendor/bin/init.mmi.boot.sh
service mmi-boot-sh /system/vendor/bin/sh /system/vendor/bin/init.mmi.boot.sh
class core
user root
oneshot

View File

@@ -1,4 +1,4 @@
#!/system/bin/sh
#!/system/vendor/bin/sh
carrier=`getprop ro.boot.carrier`
case "$carrier" in