summaryrefslogtreecommitdiffstats
path: root/power/Android.mk
diff options
context:
space:
mode:
authorDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-03-12 15:26:47 +0100
committerDenis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>2021-03-12 15:32:27 +0100
commit4a29cc58608439ffe96c869145f4f0c97971826c (patch)
treeac895083fc44348308dfa4ed91ae3fa26a7eb8ca /power/Android.mk
parentf111e65b7dccb06e40468f516cc57464594dbb13 (diff)
downloadvendor_replicant-scripts-4a29cc58608439ffe96c869145f4f0c97971826c.tar.gz
vendor_replicant-scripts-4a29cc58608439ffe96c869145f4f0c97971826c.tar.bz2
vendor_replicant-scripts-4a29cc58608439ffe96c869145f4f0c97971826c.zip
Add scripts to reboot and off shutdown the device cleanlyreplicant-6.0-0004-rc5-transitionreplicant-6.0-0004-rc5
This can be convenient when using the shell. Alternatively it could also help users with broken power buttons. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
Diffstat (limited to 'power/Android.mk')
-rw-r--r--power/Android.mk14
1 files changed, 14 insertions, 0 deletions
diff --git a/power/Android.mk b/power/Android.mk
new file mode 100644
index 0000000..8e7671f
--- /dev/null
+++ b/power/Android.mk
@@ -0,0 +1,14 @@
+# Ship the scripts on the device
+LOCAL_PATH := $(call my-dir)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := reboot.sh
+LOCAL_SRC_FILES := device-files/reboot.sh
+LOCAL_MODULE_CLASS := EXECUTABLES
+include $(BUILD_PREBUILT)
+
+include $(CLEAR_VARS)
+LOCAL_MODULE := shutdown.sh
+LOCAL_SRC_FILES := device-files/shutdown.sh
+LOCAL_MODULE_CLASS := EXECUTABLES
+include $(BUILD_PREBUILT)