summaryrefslogtreecommitdiffstats
path: root/abs
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
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')
-rwxr-xr-xabs/core-testing/runit-scripts/PKGBUILD4
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/halt-runit1
-rwxr-xr-xabs/core-testing/runit-scripts/runitscripts/reboot-runit1
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