diff --git a/scripts/shutdown.in b/scripts/shutdown.in index 6bb65260..4f6ba637 100644 --- a/scripts/shutdown.in +++ b/scripts/shutdown.in @@ -1,3 +1,8 @@ #!@SHELL@ -exec @SBINDIR@/openrc-shutdown "$@" +args="$@" +case "$@" in + *--single*|*-s*) args="$@" ;; + *) args="--single $@";; +esac +exec @SBINDIR@/openrc-shutdown "$args"