From e30a147731084878086c772d16e522e580ad02fc Mon Sep 17 00:00:00 2001 From: Britney Fransen Date: Tue, 15 Oct 2013 15:50:37 -0500 Subject: runit-scripts: halt-runit and reboot-runit: fix wall syntax to use stdin. --- abs/core/runit-scripts/PKGBUILD | 2 +- abs/core/runit-scripts/runitscripts/halt-runit | 2 +- abs/core/runit-scripts/runitscripts/reboot-runit | 2 +- 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 -- cgit v0.12