summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-14 15:43:08 +0200
committerWolfgang Wiedmeyer <wolfgit@wiedmeyer.de>2017-06-14 15:43:08 +0200
commit7d46ba53a735c46b680d9b9718ff27e3480a994a (patch)
tree5a8837b8e3f593d7ee643871a4ca46e5f07d5c92
parent058a1cf3e508f85edc50e6914de2a171ad1a9731 (diff)
downloaddevice_samsung_smdk4412-common-7d46ba53a735c46b680d9b9718ff27e3480a994a.tar.gz
device_samsung_smdk4412-common-7d46ba53a735c46b680d9b9718ff27e3480a994a.tar.bz2
device_samsung_smdk4412-common-7d46ba53a735c46b680d9b9718ff27e3480a994a.zip
enable touchkey light in recovery
Signed-off-by: Wolfgang Wiedmeyer <wolfgit@wiedmeyer.de>
-rw-r--r--common.mk3
-rw-r--r--rootdir/init.recovery.smdk4x12.rc3
2 files changed, 5 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index 48d9602..2b7d54c 100644
--- a/common.mk
+++ b/common.mk
@@ -31,7 +31,8 @@ PRODUCT_COPY_FILES := \
$(COMMON_PATH)/rootdir/init.smdk4x12.usb.rc:root/init.smdk4x12.usb.rc \
$(COMMON_PATH)/rootdir/init.trace.rc:root/init.trace.rc \
$(COMMON_PATH)/rootdir/ueventd.smdk4x12.rc:root/ueventd.smdk4x12.rc \
- $(COMMON_PATH)/rootdir/ueventd.smdk4x12.rc:recovery/root/ueventd.smdk4x12.rc
+ $(COMMON_PATH)/rootdir/ueventd.smdk4x12.rc:recovery/root/ueventd.smdk4x12.rc \
+ $(COMMON_PATH)/rootdir/init.recovery.smdk4x12.rc:root/init.recovery.smdk4x12.rc
# Audio
PRODUCT_COPY_FILES += \
diff --git a/rootdir/init.recovery.smdk4x12.rc b/rootdir/init.recovery.smdk4x12.rc
new file mode 100644
index 0000000..631307f
--- /dev/null
+++ b/rootdir/init.recovery.smdk4x12.rc
@@ -0,0 +1,3 @@
+on boot
+ # enable touchkey light
+ write /sys/class/sec/sec_touchkey/brightness 1