diff options
-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 04ff6626..796ffdc6 100755 --- a/rc.d/init.d/halt +++ b/rc.d/init.d/halt @@ -217,6 +217,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 |