Install and launch init.qcom.early_boot.sh from /vendor
Change-Id: Icca1263378b9acfe65ba2028180c4f8e03e78e60
This commit is contained in:
parent
5740d71f57
commit
9ae7c4a58a
|
@ -8,7 +8,7 @@ LOCAL_MODULE := init.qcom.early_boot.sh
|
|||
LOCAL_MODULE_TAGS := optional eng
|
||||
LOCAL_MODULE_CLASS := ETC
|
||||
LOCAL_SRC_FILES := etc/init.qcom.early_boot.sh
|
||||
LOCAL_MODULE_PATH := $(TARGET_ROOT_OUT)
|
||||
LOCAL_MODULE_PATH := $(TARGET_OUT_VENDOR_EXECUTABLES)
|
||||
include $(BUILD_PREBUILT)
|
||||
|
||||
include $(CLEAR_VARS)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/system/bin/sh
|
||||
# Copyright (c) 2012-2013,2016-2017 The Linux Foundation. All rights reserved.
|
||||
#! /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
|
||||
# modification, are permitted provided that the following conditions are met:
|
||||
|
|
|
@ -60,7 +60,7 @@ on early-boot
|
|||
write /sys/kernel/boot_adsp/boot 1
|
||||
write /sys/kernel/boot_cdsp/boot 1
|
||||
write /sys/kernel/boot_slpi/boot 1
|
||||
exec u:r:qti_init_shell:s0 -- /init.qcom.early_boot.sh
|
||||
exec u:r:qti_init_shell:s0 -- /vendor/bin/init.qcom.early_boot.sh
|
||||
|
||||
on boot
|
||||
chown bluetooth bluetooth /sys/module/bluetooth_power/parameters/power
|
||||
|
|
Loading…
Reference in New Issue