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
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
b7c2c50851
@ -5,7 +5,7 @@
|
|||||||
# For non-systemd init systems.
|
# For non-systemd init systems.
|
||||||
case "$(readlink -f /sbin/init)" in
|
case "$(readlink -f /sbin/init)" in
|
||||||
*runit*) hib="sudo -A zzz" ;;
|
*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
|
esac
|
||||||
|
|
||||||
cmds="\
|
cmds="\
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user