summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
Diffstat (limited to 'abs')
-rwxr-xr-xabs/core-testing/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/ctrlaltdel7
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/ctrlaltdel.off9
3 files changed, 11 insertions, 7 deletions
diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD
index d74ab16..ccd0d1f 100755
--- a/abs/core-testing/runit-scripts/PKGBUILD
+++ b/abs/core-testing/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=1.8.0
-pkgrel=23
+pkgrel=26
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
diff --git a/abs/core-testing/runit-scripts/runitscripts/ctrlaltdel b/abs/core-testing/runit-scripts/runitscripts/ctrlaltdel
index 2550d3c..30c317b 100755
--- a/abs/core-testing/runit-scripts/runitscripts/ctrlaltdel
+++ b/abs/core-testing/runit-scripts/runitscripts/ctrlaltdel
@@ -1,9 +1,4 @@
#!/bin/sh
PATH=/bin:/usr/bin
-MSG="System is going down in 10 seconds..."
-
-# echo 'disabled.' ; exit
-touch /etc/runit/stopit
-chmod 100 /etc/runit/stopit && echo "$MSG" | wall
-/bin/sleep 10
+/sbin/reboot
diff --git a/abs/core-testing/runit-scripts/runitscripts/ctrlaltdel.off b/abs/core-testing/runit-scripts/runitscripts/ctrlaltdel.off
new file mode 100755
index 0000000..2550d3c
--- /dev/null
+++ b/abs/core-testing/runit-scripts/runitscripts/ctrlaltdel.off
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+PATH=/bin:/usr/bin
+MSG="System is going down in 10 seconds..."
+
+# echo 'disabled.' ; exit
+touch /etc/runit/stopit
+chmod 100 /etc/runit/stopit && echo "$MSG" | wall
+/bin/sleep 10