summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/runit/shutdown.script
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2010-03-21 17:35:04 (GMT)
committerJames Meyer <james.meyer@operamail.com>2010-03-21 17:35:04 (GMT)
commit30b24c067003966f4231e0a0a3e6825396a2fd56 (patch)
tree3941c88247509a969cfb07b7f24809f9bd08ef9d /abs/core-testing/runit/shutdown.script
parent8ca96fb6039c261bb4fddfadc6a1fea9e003191e (diff)
downloadlinhes_pkgbuild-30b24c067003966f4231e0a0a3e6825396a2fd56.zip
linhes_pkgbuild-30b24c067003966f4231e0a0a3e6825396a2fd56.tar.gz
linhes_pkgbuild-30b24c067003966f4231e0a0a3e6825396a2fd56.tar.bz2
runit: remove -t as mandatory, is -t is now present delay is set to 0
closes 565
Diffstat (limited to 'abs/core-testing/runit/shutdown.script')
-rwxr-xr-xabs/core-testing/runit/shutdown.script5
1 files changed, 2 insertions, 3 deletions
diff --git a/abs/core-testing/runit/shutdown.script b/abs/core-testing/runit/shutdown.script
index 3bcc5d3..229996b 100755
--- a/abs/core-testing/runit/shutdown.script
+++ b/abs/core-testing/runit/shutdown.script
@@ -23,9 +23,8 @@ then
done
if [ x$delay = x ]
then
- echo "-t is mandatory"
- exit 4
- fi
+ delay=0
+ fi
if [ x$reboot = x1 ]
then