diff --git a/init.d/bootmisc.in b/init.d/bootmisc.in index 40d3c933..bf79f03d 100644 --- a/init.d/bootmisc.in +++ b/init.d/bootmisc.in @@ -241,7 +241,7 @@ stop() { # Write a halt record if we're shutting down if [ "$RC_RUNLEVEL" = shutdown ]; then - [ "$RC_UNAME" = Linux ] && halt -w + [ "$RC_UNAME" = Linux ] && openrc-shutdown -w if [ "$RC_SYS" = OPENVZ ]; then yesno $RC_REBOOT && printf "" >/reboot fi