diff options
author | Greg Frost <gregfrost1@bigpond.com> | 2009-07-18 01:11:38 (GMT) |
---|---|---|
committer | Greg Frost <gregfrost1@bigpond.com> | 2009-07-18 01:11:38 (GMT) |
commit | 1790a798f524c12a47dff76d200124b607be1c5e (patch) | |
tree | dd5507146eb8c87b670251f2233cdfed94f6a6a1 /abs/core-testing/runit-scripts | |
parent | 0a9d5cb47df47ed459725d22febbf0475b69c10f (diff) | |
download | linhes_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')
-rwxr-xr-x | abs/core-testing/runit-scripts/PKGBUILD | 4 | ||||
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/halt-runit | 1 | ||||
-rwxr-xr-x | abs/core-testing/runit-scripts/runitscripts/reboot-runit | 1 |
3 files changed, 4 insertions, 2 deletions
diff --git a/abs/core-testing/runit-scripts/PKGBUILD b/abs/core-testing/runit-scripts/PKGBUILD index 2c237d7..7fe22bf 100755 --- a/abs/core-testing/runit-scripts/PKGBUILD +++ b/abs/core-testing/runit-scripts/PKGBUILD @@ -1,11 +1,11 @@ pkgname=runit-scripts pkgver=1.8.0 -pkgrel=90 +pkgrel=91 pkgdesc="collection of startup scripts for runit" url="http://smarden.org/runit/" license="BSD" depends=('glibc' 'util-linux' 'initscripts' 'runit' ) -makedepends=() +makedepends=('rsync') conflicts=() replaces=() backup=(etc/runit/1.local) 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 |