84d140a1f6
Sysvinit shutdown has a default of single user mode, but openrc-shutdown makes you choose a default action. Because of this, the shutdown wrapper needs to pass --single to openrc-shutdown.
9 lines
134 B
Plaintext
9 lines
134 B
Plaintext
#!@SHELL@
|
|
|
|
args="$@"
|
|
case "$@" in
|
|
*--single*|*-s*) args="$@" ;;
|
|
*) args="--single $@";;
|
|
esac
|
|
exec @SBINDIR@/openrc-shutdown "$args"
|