summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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