summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Diewald <Diewi@diewald-net.com>2017-11-28 15:49:49 +0100
committerArian <arian.kulmer@web.de>2019-10-07 11:11:29 +0200
commit281e1c378aaa1b7197051f9a1e4f0d75b60dcac8 (patch)
treee03d943450732f3da5b26939afc30593a2d97e0c
parent154011abb8b0e9cc67c5f0620f18e080f3ae983e (diff)
shinano: Move shell scripts to system/vendor.
* Scripts use the /system/vendor/bin/sh shebang now. * Move shell scripts from system/etc to vendor/system/bin. * Adjust init files. Change-Id: Ib0b9eb59305425b415e2681e7943f9ebfa6480d4 Signed-off-by: Alexander Diewald <Diewi@diewald-net.com> Signed-off-by: Arian <arian.kulmer@web.de>
-rw-r--r--rootdir/init.camera.rc2
-rw-r--r--rootdir/init.qcom.rc2
-rwxr-xr-xrootdir/system/vendor/bin/credmgrfirstboot.sh (renamed from rootdir/system/bin/credmgrfirstboot.sh)2
-rw-r--r--rootdir/system/vendor/bin/init.qcom-sensor.sh (renamed from rootdir/system/etc/init.qcom-sensor.sh)2
-rw-r--r--shinano.mk4
5 files changed, 6 insertions, 6 deletions
diff --git a/rootdir/init.camera.rc b/rootdir/init.camera.rc
index 0985683..2fb08f7 100644
--- a/rootdir/init.camera.rc
+++ b/rootdir/init.camera.rc
@@ -94,7 +94,7 @@ service taimport /system/bin/taimport
oneshot
# This script init /cache/CredentialManagerData if /data/credmgr doesn't meet our requirements
-service initcredmgr /system/bin/credmgrfirstboot.sh
+service initcredmgr /system/vendor/bin/credmgrfirstboot.sh
class late_start
user root
group root
diff --git a/rootdir/init.qcom.rc b/rootdir/init.qcom.rc
index 1bbc442..d1c90d1 100644
--- a/rootdir/init.qcom.rc
+++ b/rootdir/init.qcom.rc
@@ -511,7 +511,7 @@ service sensors /system/vendor/bin/sensors.qcom
user root
group root wakelock
-service qcom-sensor-sh /system/bin/sh /system/vendor/etc/init.qcom-sensor.sh
+service qcom-sensor-sh /system/vendor/bin/init.qcom-sensor.sh
class main
user root
oneshot
diff --git a/rootdir/system/bin/credmgrfirstboot.sh b/rootdir/system/vendor/bin/credmgrfirstboot.sh
index 36e0c08..3b3ade9 100755
--- a/rootdir/system/bin/credmgrfirstboot.sh
+++ b/rootdir/system/vendor/bin/credmgrfirstboot.sh
@@ -1,4 +1,4 @@
-#!/system/bin/sh
+#!/system/vendor/bin/sh
CREDFOLDER=/data/credmgr
LOG=/cache/credmgr.log
diff --git a/rootdir/system/etc/init.qcom-sensor.sh b/rootdir/system/vendor/bin/init.qcom-sensor.sh
index 21d24c7..f8ab53f 100644
--- a/rootdir/system/etc/init.qcom-sensor.sh
+++ b/rootdir/system/vendor/bin/init.qcom-sensor.sh
@@ -1,4 +1,4 @@
-#!/system/bin/sh
+#!/system/vendor/bin/sh
# Copyright (C) 2013 Sony Mobile Communications AB.
#
diff --git a/shinano.mk b/shinano.mk
index 89d5c13..8680632 100644
--- a/shinano.mk
+++ b/shinano.mk
@@ -59,7 +59,7 @@ PRODUCT_COPY_FILES += \
$(COMMON_PATH)/rootdir/sbin/tad_static:root/sbin/tad_static
PRODUCT_COPY_FILES += \
- $(COMMON_PATH)/rootdir/system/bin/credmgrfirstboot.sh:system/bin/credmgrfirstboot.sh
+ $(COMMON_PATH)/rootdir/system/vendor/bin/credmgrfirstboot.sh:system/vendor/bin/credmgrfirstboot.sh
# Audio
PRODUCT_COPY_FILES += \
@@ -160,7 +160,7 @@ PRODUCT_PACKAGES += \
# Sensor file
PRODUCT_COPY_FILES += \
- $(COMMON_PATH)/rootdir/system/etc/init.qcom-sensor.sh:$(TARGET_COPY_OUT_VENDOR)/etc/init.qcom-sensor.sh
+ $(COMMON_PATH)/rootdir/system/vendor/bin/init.qcom-sensor.sh:$(TARGET_COPY_OUT_VENDOR)/bin/init.qcom-sensor.sh
# BCM Wifi
$(call inherit-product-if-exists, hardware/broadcom/wlan/bcmdhd/firmware/bcm4339/device-bcm.mk)