summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/functions4
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/functions b/scripts/functions
index 81174bf..db223cd 100644
--- a/scripts/functions
+++ b/scripts/functions
@@ -60,9 +60,7 @@ panic()
/sbin/usplash_write "QUIT"
fi
# Disallow console access
- if [ -n "${panic}" ] && [ "${panic}" = 0 ]; then
- reboot
- elif [ -n "${panic}" ]; then
+ if [ -n "${panic}" ]; then
sleep ${panic}
reboot
fi