summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2013-10-15 20:50:37 (GMT)
committerBritney Fransen <brfransen@gmail.com>2013-10-15 20:50:37 (GMT)
commite30a147731084878086c772d16e522e580ad02fc (patch)
tree92cffcabb2d47022bf0f0328677b6609b05e3b88 /abs/core
parent92872a1d41950c7a99c5f7caf13a9802b890ef51 (diff)
downloadlinhes_pkgbuild-e30a147731084878086c772d16e522e580ad02fc.zip
linhes_pkgbuild-e30a147731084878086c772d16e522e580ad02fc.tar.gz
linhes_pkgbuild-e30a147731084878086c772d16e522e580ad02fc.tar.bz2
runit-scripts: halt-runit and reboot-runit: fix wall syntax to use stdin.
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/runit-scripts/PKGBUILD2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/halt-runit2
-rwxr-xr-xabs/core/runit-scripts/runitscripts/reboot-runit2
3 files changed, 3 insertions, 3 deletions
diff --git a/abs/core/runit-scripts/PKGBUILD b/abs/core/runit-scripts/PKGBUILD
index 9354ae2..b652cba 100755
--- a/abs/core/runit-scripts/PKGBUILD
+++ b/abs/core/runit-scripts/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=runit-scripts
pkgver=8.0
-pkgrel=5
+pkgrel=6
pkgdesc="collection of startup scripts for runit"
url="http://smarden.org/runit/"
license="BSD"
diff --git a/abs/core/runit-scripts/runitscripts/halt-runit b/abs/core/runit-scripts/runitscripts/halt-runit
index b7d9a95..ac0862c 100755
--- a/abs/core/runit-scripts/runitscripts/halt-runit
+++ b/abs/core/runit-scripts/runitscripts/halt-runit
@@ -1,3 +1,3 @@
#!/bin/sh
-wall "System will shutdown NOW"
+echo "System will shutdown NOW" | wall
runit-init 0
diff --git a/abs/core/runit-scripts/runitscripts/reboot-runit b/abs/core/runit-scripts/runitscripts/reboot-runit
index 0d3d9d4..47ef728 100755
--- a/abs/core/runit-scripts/runitscripts/reboot-runit
+++ b/abs/core/runit-scripts/runitscripts/reboot-runit
@@ -1,3 +1,3 @@
#!/bin/sh
-wall "System will reboot NOW"
+echo "System will reboot NOW" | wall
runit-init 6