summary refs log tree commit diff
path: root/etc/debian/ctrlaltdel
diff options
context:
space:
mode:
Diffstat (limited to 'etc/debian/ctrlaltdel')
-rwxr-xr-xetc/debian/ctrlaltdel8
1 files changed, 5 insertions, 3 deletions
diff --git a/etc/debian/ctrlaltdel b/etc/debian/ctrlaltdel
index 2bfe4e0..6684457 100755
--- a/etc/debian/ctrlaltdel
+++ b/etc/debian/ctrlaltdel
@@ -1,7 +1,9 @@
 #!/bin/sh
+
+PATH=/bin:/usr/bin
 MSG="System is going down in 14 seconds..."
 
-#echo 'disabled.' ; exit
-/bin/touch /etc/runit/stopit && \
-  /bin/echo "$MSG" | /usr/bin/wall
+# echo 'disabled.' ; exit
+touch /etc/runit/stopit
+chmod 100 /etc/runit/stopit && echo "$MSG" | wall
 /bin/sleep 14