Annotation of /trunk/dracut/patches/dracut-017-sysvinit-compat.patch
Parent Directory | Revision Log
Revision 1674 -
(hide annotations)
(download)
Sat Mar 3 11:20:09 2012 UTC (12 years, 6 months ago) by niro
File size: 712 byte(s)
Sat Mar 3 11:20:09 2012 UTC (12 years, 6 months ago) by niro
File size: 712 byte(s)
-refactor patches
1 | niro | 1674 | diff -Naur dracut-017/modules.d/99shutdown/shutdown.sh dracut-017-magellan/modules.d/99shutdown/shutdown.sh |
2 | --- dracut-017/modules.d/99shutdown/shutdown.sh 2012-02-24 15:38:08.000000000 +0100 | ||
3 | +++ dracut-017-magellan/modules.d/99shutdown/shutdown.sh 2012-03-03 13:03:08.847982387 +0100 | ||
4 | @@ -94,7 +94,7 @@ | ||
5 | _check_shutdown final | ||
6 | |||
7 | getarg 'rd.break=shutdown' && emergency_shell -n cmdline "Break before shutdown" | ||
8 | -[ "$1" = "reboot" ] && reboot -f -d -n --no-wall | ||
9 | -[ "$1" = "poweroff" ] && poweroff -f -d -n --no-wall | ||
10 | -[ "$1" = "halt" ] && halt -f -d -n --no-wall | ||
11 | +[ "$1" = "reboot" ] && reboot -f -d -n | ||
12 | +[ "$1" = "poweroff" ] && poweroff -f -d -n | ||
13 | +[ "$1" = "halt" ] && halt -f -d -n | ||
14 | [ "$1" = "kexec" ] && kexec -e |