From 7d46ba53a735c46b680d9b9718ff27e3480a994a Mon Sep 17 00:00:00 2001 From: Wolfgang Wiedmeyer Date: Wed, 14 Jun 2017 15:43:08 +0200 Subject: enable touchkey light in recovery Signed-off-by: Wolfgang Wiedmeyer --- common.mk | 3 ++- rootdir/init.recovery.smdk4x12.rc | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 rootdir/init.recovery.smdk4x12.rc 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 -- cgit v1.1