summary refs log tree commit diff
path: root/etc/freebsd/ctrlaltdel
diff options
context:
space:
mode:
Diffstat (limited to 'etc/freebsd/ctrlaltdel')
-rwxr-xr-xetc/freebsd/ctrlaltdel8
1 files changed, 8 insertions, 0 deletions
diff --git a/etc/freebsd/ctrlaltdel b/etc/freebsd/ctrlaltdel
new file mode 100755
index 0000000..aa62a01
--- /dev/null
+++ b/etc/freebsd/ctrlaltdel
@@ -0,0 +1,8 @@
+#!/bin/sh
+MSG="System is going down in 14 seconds..."
+
+echo 'disabled.' ; exit
+
+/bin/touch /etc/runit/stopit && \
+  /bin/echo "$MSG" | /usr/bin/wall
+/bin/sleep 14