summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit-scripts/runitscripts
diff options
context:
space:
mode:
authorGreg Frost <gregfrost1@bigpond.com>2009-07-18 01:11:38 (GMT)
committerGreg Frost <gregfrost1@bigpond.com>2009-07-18 01:11:38 (GMT)
commit1790a798f524c12a47dff76d200124b607be1c5e (patch)
treedd5507146eb8c87b670251f2233cdfed94f6a6a1 /abs/core-testing/runit-scripts/runitscripts
parent0a9d5cb47df47ed459725d22febbf0475b69c10f (diff)
downloadlinhes_pkgbuild-1790a798f524c12a47dff76d200124b607be1c5e.zip
linhes_pkgbuild-1790a798f524c12a47dff76d200124b607be1c5e.tar.gz
linhes_pkgbuild-1790a798f524c12a47dff76d200124b607be1c5e.tar.bz2
runit-scripts: add wall for reboot and halt
Diffstat (limited to 'abs/core-testing/runit-scripts/runitscripts')
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/halt-runit1
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/reboot-runit1
2 files changed, 2 insertions, 0 deletions
diff --git a/abs/core-testing/runit-scripts/runitscripts/halt-runit b/abs/core-testing/runit-scripts/runitscripts/halt-runit
index 7c07b05..b7d9a95 100755
--- a/abs/core-testing/runit-scripts/runitscripts/halt-runit
+++ b/abs/core-testing/runit-scripts/runitscripts/halt-runit
@@ -1,2 +1,3 @@
#!/bin/sh
+wall "System will shutdown NOW"
runit-init 0
diff --git a/abs/core-testing/runit-scripts/runitscripts/reboot-runit b/abs/core-testing/runit-scripts/runitscripts/reboot-runit
index be831ec..0d3d9d4 100755
--- a/abs/core-testing/runit-scripts/runitscripts/reboot-runit
+++ b/abs/core-testing/runit-scripts/runitscripts/reboot-runit
@@ -1,2 +1,3 @@
#!/bin/sh
+wall "System will reboot NOW"
runit-init 6