mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
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
2915ecf693
commit
5fcd64e741
@ -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…
x
Reference in New Issue
Block a user