aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--README2
-rw-r--r--src/service.sh5
3 files changed, 6 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 78e2551..127391b 100644
--- a/Makefile
+++ b/Makefile
@@ -30,9 +30,9 @@ kill: all
adb shell -x pkill kblightd
bin/kblightd_magisk.zip: bin bin/kblightd src/service.sh res/module.prop
- mkdir -p bin/magisk
+ mkdir -p bin/magisk/system/bin
- cp -p bin/kblightd bin/magisk/
+ cp -p bin/kblightd bin/magisk/system/bin
cp -p src/service.sh bin/magisk
cp -p res/module.prop bin/magisk
diff --git a/README b/README
index cdf6344..d23808b 100644
--- a/README
+++ b/README
@@ -14,6 +14,8 @@ roadmap
[x] magisk module
+[ ] enable on lid-open
+
[ ] config file in /data/???
license
diff --git a/src/service.sh b/src/service.sh
index e88e6b3..e32a1b8 100644
--- a/src/service.sh
+++ b/src/service.sh
@@ -1,3 +1,2 @@
-cp data/adb/modules/sh.spv.kblightd/kblightd /sbin/kblightd
-chmod 700 /sbin/kblightd
-exec /sbin/kblightd
+chmod 700 /system/bin/kblightd
+exec /system/bin/kblightd