]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
Run kexec before rebooting (kexec support).
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 25 Jan 2004 12:27:30 +0000 (12:27 +0000)
committerArkadiusz Miśkiewicz <arekm@maven.pl>
Sun, 25 Jan 2004 12:27:30 +0000 (12:27 +0000)
svn-id: @3221

rc.d/rc.shutdown

index bcfd02676dc3c6d5c5c7b32987017b88f5cea27f..3aeb51602a29a29fdea890c2416734e7c501cea4 100755 (executable)
@@ -106,6 +106,7 @@ if [ "$runlevel" = "0" ] ; then
 else
        show "Please stand by while rebooting the system"; ok
        [ -f /fastboot ] && (show "On the next boot fsck will be skipped."; ok)
+       [ -x /sbin/kexec ] && /sbin/kexec -e
        eval reboot -d
 fi
 
This page took 0.206644 seconds and 4 git commands to generate.