diff options
author | James Meyer <james.meyer@operamail.com> | 2009-01-18 00:36:36 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2009-01-18 00:36:36 (GMT) |
commit | 7fbe2eccb1d7ff24f443fc42d90594014d8449be (patch) | |
tree | 267060fdb1f891d5f5fe1189ad6ec783b75155a1 | |
parent | 1ed68530466f71d4077f50597c73103f3e5d4d9b (diff) | |
download | linhes_pkgbuild-7fbe2eccb1d7ff24f443fc42d90594014d8449be.zip linhes_pkgbuild-7fbe2eccb1d7ff24f443fc42d90594014d8449be.tar.gz linhes_pkgbuild-7fbe2eccb1d7ff24f443fc42d90594014d8449be.tar.bz2 |
switch ctr+alt+delete to reboot instead of poweroff.
closes FS#98
-rwxr-xr-x | abs/core-testing/runit-scripts/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/ctrlaltdel | 7 | ||||
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/ctrlaltdel.off | 9 |
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 |