summaryrefslogtreecommitdiff
path: root/scripts/functions
diff options
context:
space:
mode:
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 $@