The purpose of panic= is to make the system reboot automatically on
panic but also give the interactive user some time to see what went
wrong.

Signed-off-by: Timo Juhani Lindfors <[email protected]>

diff --git a/scripts/functions b/scripts/functions
index 2280ba2..025001f 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -37,6 +37,7 @@ panic()
                chvt 1
        fi
 
+       echo "$@"
        # Disallow console access
        if [ -n "${panic}" ]; then
                sleep ${panic}
@@ -44,7 +45,6 @@ panic()
        fi
        modprobe i8042
        modprobe atkbd
-       echo "$@"
        REASON="$@" PS1='(initramfs) ' /bin/sh -i </dev/console >/dev/console 
2>&1
 }
 
-- 
1.7.2.3


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: 
http://lists.debian.org/[email protected]

Reply via email to