summaryrefslogtreecommitdiffstats
path: root/modules.d/80test/hard-off.sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rwxr-xr-xmodules.d/80test/hard-off.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules.d/80test/hard-off.sh b/modules.d/80test/hard-off.sh
new file mode 100755
index 0000000..01acb19
--- /dev/null
+++ b/modules.d/80test/hard-off.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+getargbool 0 rd.shell || poweroff -f
+getargbool 0 failme && poweroff -f