diff options
author | Thomas Bächler <thomas@archlinux.org> | 2009-10-08 22:38:27 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2009-10-08 22:38:27 +0200 |
commit | 0834af715a227b53c12c080cb34658d7d0753da7 (patch) | |
tree | 3a117c61275fec8ca65cfc216ba9b682686de87b | |
parent | 540664b91daf6d603e26693cc7723765b7f242ff (diff) | |
download | mkinitcpio-0834af715a227b53c12c080cb34658d7d0753da7.tar.gz mkinitcpio-0834af715a227b53c12c080cb34658d7d0753da7.tar.xz |
Skip options starting with a digit, sh variables must not start with a digit.
-rw-r--r-- | init | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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}" ;; |