summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
authormaximilian attems <maks@debian.org>2006-08-18 15:59:40 +0200
committermaximilian attems <maks@debian.org>2006-08-18 15:59:40 +0200
commitd1d6763409a1260708423e0092d7bc4182275773 (patch)
treec88fcae96605cda38b5794ef883d851791876001 /scripts/functions
parent839572386f35bf4b4404dac5f976566bc155de94 (diff)
- really add DAC960 + add megaraid_sas
- update TODO - first take at the panic parsing - do_bootloader variable is not case sensitive, catch more cases - if panic is set to 0 reboot and don't open console, needs still work for all other values.
Diffstat (limited to 'scripts/functions')
-rw-r--r--scripts/functions4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/functions b/scripts/functions
index e9d7a07..178ad5d 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -59,6 +59,10 @@ panic()
if [ -x /sbin/usplash_write ]; then
/sbin/usplash_write "QUIT"
fi
+ # Disallow console access
+ if [ "${panic}" = 0 ]; then
+ reboot
+ fi
modprobe -q i8042
modprobe -q atkbd
echo $@