diff options
Diffstat (limited to 'rc.d')
-rwxr-xr-x | rc.d/init.d/halt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rc.d/init.d/halt b/rc.d/init.d/halt index f8b56d22..a986f009 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -175,6 +175,6 @@ fi [ -n "$kexec_command" ] && $kexec_command -e -x >& /dev/null HALTARGS="-d" -[ -f /poweroff -o ! -f /halt ] && HALTARGS="$HALTARGS -p" +[ "$INIT_HALT" != "HALT"] && HALTARGS="$HALTARGS -p" exec $command $HALTARGS |