From 1790a798f524c12a47dff76d200124b607be1c5e Mon Sep 17 00:00:00 2001 From: Greg Frost Date: Sat, 18 Jul 2009 10:41:38 +0930 Subject: runit-scripts: add wall for reboot and halt --- abs/core-testing/runit-scripts/PKGBUILD | 4 ++-- abs/core-testing/runit-scripts/runitscripts/halt-runit | 1 + 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 -- cgit v0.12