From c82e88dd00d1b0b7fcfb4e5628d99611388cef6f Mon Sep 17 00:00:00 2001 From: rawnix ports Date: Sat, 26 Sep 2026 18:19:05 +0000 Subject: sync 2026-09-26 18:19 UTC 1672 files changed, 151396 insertions(+) --- core/runit/ctrlaltdel | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 core/runit/ctrlaltdel (limited to 'core/runit/ctrlaltdel') diff --git a/core/runit/ctrlaltdel b/core/runit/ctrlaltdel new file mode 100644 index 0000000..f4c2b65 --- /dev/null +++ b/core/runit/ctrlaltdel @@ -0,0 +1,13 @@ +#!/bin/sh +# /etc/runit/ctrlaltdel - Handle Ctrl+Alt+Del + +PATH=/sbin:/bin:/usr/sbin:/usr/bin +export PATH + +touch /etc/runit/reboot +chmod 100 /etc/runit/reboot + +touch /etc/runit/stopit +chmod 100 /etc/runit/stopit + +echo 'System is going down NOW!' | wall 2>/dev/null -- cgit v1.3.1