Specified shutdown time (0 seconds) for openrc shutdown option (#925)

If you don't specify it, it won't work:
$ sudo -A openrc-shutdown -p
 * openrc-shutdown: No shutdown time specified
This commit is contained in:
Eike Flath 2021-03-30 18:09:33 +02:00 committed by KronikPillow
parent 2915ecf693
commit 5fcd64e741
No known key found for this signature in database
GPG Key ID: E4A0CE24DAD6B3FE

View File

@ -5,7 +5,7 @@
# For non-systemd init systems.
case "$(readlink -f /sbin/init)" in
*runit*) hib="sudo -A zzz" ;;
*openrc*) reb="sudo -A openrc-shutdown -r"; shut="sudo -A openrc-shutdown -p" ;;
*openrc*) reb="sudo -A openrc-shutdown -r"; shut="sudo -A openrc-shutdown -p 0" ;;
esac
cmds="\