Magellan Linux

Contents of /trunk/dracut/patches/dracut-019-sysvinit-compat.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1823 - (show annotations) (download)
Fri Jun 29 09:09:25 2012 UTC (11 years, 10 months ago) by niro
File size: 721 byte(s)
-reworked patches for 019
1 diff -Naur dracut-019/modules.d/99shutdown/shutdown.sh dracut-019-magellan/modules.d/99shutdown/shutdown.sh
2 --- dracut-019/modules.d/99shutdown/shutdown.sh 2012-06-04 14:24:25.000000000 +0200
3 +++ dracut-019-magellan/modules.d/99shutdown/shutdown.sh 2012-06-29 12:08:42.335984735 +0200
4 @@ -56,7 +56,7 @@
5 _check_shutdown final
6
7 getarg 'rd.break=shutdown' && emergency_shell --shutdown shutdown "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