From: Amadeusz Żołnowski Date: Tue, 31 Jul 2012 08:49:58 +0000 (+0200) Subject: 99shutdown: remove --no-wall argument for reboot, halt, etc... X-Git-Tag: 023~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=afcebd136f6ab30476097407e8158e4f3a68c9c2;p=thirdparty%2Fdracut.git 99shutdown: remove --no-wall argument for reboot, halt, etc... In some distros (Gentoo, for example) these commands don't honor --no-wall argument. --- diff --git a/modules.d/99shutdown/shutdown.sh b/modules.d/99shutdown/shutdown.sh index aa0a81f1b..e1da91bdb 100755 --- a/modules.d/99shutdown/shutdown.sh +++ b/modules.d/99shutdown/shutdown.sh @@ -56,7 +56,7 @@ done _check_shutdown final getarg 'rd.break=shutdown' && emergency_shell --shutdown shutdown "Break before shutdown" -[ "$1" = "reboot" ] && reboot -f -d -n --no-wall -[ "$1" = "poweroff" ] && poweroff -f -d -n --no-wall -[ "$1" = "halt" ] && halt -f -d -n --no-wall +[ "$1" = "reboot" ] && reboot -f -d -n +[ "$1" = "poweroff" ] && poweroff -f -d -n +[ "$1" = "halt" ] && halt -f -d -n [ "$1" = "kexec" ] && kexec -e