summaryrefslogtreecommitdiffstats
path: root/abs/core/poweroff-scripts/shutdown.script
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2014-02-05 22:08:53 (GMT)
committerBritney Fransen <brfransen@gmail.com>2014-02-05 22:08:53 (GMT)
commit73e217800ce2ebd6e64ae54db7f54c386f047cff (patch)
tree4884c9e283205ffd6c7c38ab846393aefe01bb62 /abs/core/poweroff-scripts/shutdown.script
parentbfce2e0f5e5fe03890c9cbf0521200a93ba00426 (diff)
downloadlinhes_pkgbuild-73e217800ce2ebd6e64ae54db7f54c386f047cff.zip
linhes_pkgbuild-73e217800ce2ebd6e64ae54db7f54c386f047cff.tar.gz
linhes_pkgbuild-73e217800ce2ebd6e64ae54db7f54c386f047cff.tar.bz2
poweroff-scripts: shutdown.script: fix wall syntax to use stdin.
Diffstat (limited to 'abs/core/poweroff-scripts/shutdown.script')
-rw-r--r--abs/core/poweroff-scripts/shutdown.script4
1 files changed, 2 insertions, 2 deletions
diff --git a/abs/core/poweroff-scripts/shutdown.script b/abs/core/poweroff-scripts/shutdown.script
index 31881e8..978f7a2 100644
--- a/abs/core/poweroff-scripts/shutdown.script
+++ b/abs/core/poweroff-scripts/shutdown.script
@@ -29,14 +29,14 @@ then
if [ x$reboot = x1 ]
then
- wall "System will reboot in $delay seconds"
+ echo "System will reboot in $delay seconds" | wall
sleep $delay
/sbin/runit-init 6
fi
if [ x$halt = x1 ]
then
- wall "System will poweroff in $delay seconds"
+ echo "System will poweroff in $delay seconds" | wall
sleep $delay
/sbin/runit-init 0
fi