summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2009-10-08 22:38:27 +0200
committerThomas Bächler <thomas@archlinux.org>2009-10-08 22:38:27 +0200
commit0834af715a227b53c12c080cb34658d7d0753da7 (patch)
tree3a117c61275fec8ca65cfc216ba9b682686de87b
parent540664b91daf6d603e26693cc7723765b7f242ff (diff)
downloadmkinitcpio-0834af715a227b53c12c080cb34658d7d0753da7.tar.gz
mkinitcpio-0834af715a227b53c12c080cb34658d7d0753da7.tar.xz
Skip options starting with a digit, sh variables must not start with a digit.
-rw-r--r--init1
1 files changed, 1 insertions, 0 deletions
diff --git a/init b/init
index 0ea8750..c7aca13 100644
--- a/init
+++ b/init
@@ -20,6 +20,7 @@ for cmd in ${CMDLINE}; do
\#*) break ;; # ignore everything after a # in the commandline
# The kernel passes those to the kernel on its own
[0123456Ss]) ;;
+ [0-9]*) ;;
single) ;;
#Allow "init=X" to pass-through
init=*) kinit_params="${kinit_params} ${cmd}" ;;