diff --git a/rootdir/Android.mk b/rootdir/Android.mk index f19f856d..d1026a2a 100644 --- a/rootdir/Android.mk +++ b/rootdir/Android.mk @@ -16,6 +16,7 @@ LOCAL_MODULE := init.qcom.post_boot.sh LOCAL_MODULE_TAGS := optional eng LOCAL_MODULE_CLASS := ETC LOCAL_SRC_FILES := etc/init.qcom.post_boot.sh +LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES) include $(BUILD_PREBUILT) include $(CLEAR_VARS) diff --git a/rootdir/etc/init.qcom.post_boot.sh b/rootdir/etc/init.qcom.post_boot.sh index 31d4daa7..30fe00ae 100644 --- a/rootdir/etc/init.qcom.post_boot.sh +++ b/rootdir/etc/init.qcom.post_boot.sh @@ -1,4 +1,5 @@ -#!/system/bin/sh +#! /vendor/bin/sh + # Copyright (c) 2012-2013, 2016, The Linux Foundation. All rights reserved. # # Redistribution and use in source and binary forms, with or without diff --git a/rootdir/etc/init.qcom.rc b/rootdir/etc/init.qcom.rc index 9bc649b0..49d10fb4 100644 --- a/rootdir/etc/init.qcom.rc +++ b/rootdir/etc/init.qcom.rc @@ -841,7 +841,7 @@ service sensor-sh /system/bin/sh /init.qcom.sensors.sh user root oneshot -service qcom-post-boot /system/bin/sh /system/etc/init.qcom.post_boot.sh +service qcom-post-boot /vendor/bin/init.qcom.post_boot.sh class late_start user root disabled