summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
Diffstat (limited to 'init')
-rwxr-xr-xinit10
1 files changed, 10 insertions, 0 deletions
diff --git a/init b/init
index 7de409a..0da01d4 100755
--- a/init
+++ b/init
@@ -79,6 +79,11 @@ for x in $(cat /proc/cmdline); do
;;
rootdelay=*)
ROOTDELAY="${x#rootdelay=}"
+ case ${ROOTDELAY} in
+ *[![:digit:].]*)
+ ROOTDELAY=
+ ;;
+ esac
;;
nfsroot=*)
NFSROOT="${x#nfsroot=}"
@@ -97,6 +102,11 @@ for x in $(cat /proc/cmdline); do
;;
panic=*)
panic="${x#panic=}"
+ case ${panic} in
+ *[![:digit:].]*)
+ panic=
+ ;;
+ esac
;;
quiet)
quiet=y