sanders: use /system/vendor/bin/sh for init scripts
* For real Change-Id: I41419e2b0f8746d94ca3b4b52af9e4bcade72f17
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/system/bin/sh
|
#!/system/vendor/bin/sh
|
||||||
|
|
||||||
PATH=/sbin:/system/vendor/bin
|
PATH=/sbin:/system/vendor/bin
|
||||||
export PATH
|
export PATH
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/system/bin/sh
|
#!/system/vendor/bin/sh
|
||||||
scriptname=${0##*/}
|
scriptname=${0##*/}
|
||||||
dbg_on=1
|
dbg_on=1
|
||||||
debug()
|
debug()
|
||||||
|
|||||||
@@ -162,7 +162,7 @@ on boot
|
|||||||
chmod 0660 /sys/module/phy_msm_usb/parameters/host_mode_disable
|
chmod 0660 /sys/module/phy_msm_usb/parameters/host_mode_disable
|
||||||
chown root oem_5004 /sys/devices/soc/7000000.ssusb/disable_id_pin
|
chown root oem_5004 /sys/devices/soc/7000000.ssusb/disable_id_pin
|
||||||
chmod 0220 /sys/devices/soc/7000000.ssusb/disable_id_pin
|
chmod 0220 /sys/devices/soc/7000000.ssusb/disable_id_pin
|
||||||
|
|
||||||
#change ownership and permission for LTR559
|
#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/enable
|
||||||
chown system system /sys/class/sensors/Rear\ Proximity\ sensor/poll_delay
|
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
|
write /sys/module/binder/parameters/debug_mask 0x5
|
||||||
|
|
||||||
# Pass carrier to wlan
|
# 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
|
class main
|
||||||
user root
|
user root
|
||||||
group root
|
group root
|
||||||
@@ -257,7 +257,7 @@ service adspd /system/vendor/bin/adspd
|
|||||||
user audio
|
user audio
|
||||||
group audio input diag
|
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
|
class core
|
||||||
user root
|
user root
|
||||||
oneshot
|
oneshot
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
#!/system/bin/sh
|
#!/system/vendor/bin/sh
|
||||||
carrier=`getprop ro.boot.carrier`
|
carrier=`getprop ro.boot.carrier`
|
||||||
|
|
||||||
case "$carrier" in
|
case "$carrier" in
|
||||||
|
|||||||
Reference in New Issue
Block a user