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:
parent
9c5faeeb95
commit
8e144b60ff
1 changed files with 1 additions and 1 deletions
|
@ -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="\
|
||||
|
|
Loading…
Reference in a new issue