summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Rush <rush.zlo@gmail.com>2013-02-28 11:42:43 +0000
committerEugene Rush <rush.zlo@gmail.com>2013-02-28 11:42:43 +0000
commitd99ce467d1e7de90e8ec2766e16f39736064510b (patch)
tree006f28d6317c94c8f1491038a9f9fbd840bb5fb2
parent4c8535b759fb9f2b34d05f971bee3a4ecc86b734 (diff)
downloadmkinitfs-d99ce467d1e7de90e8ec2766e16f39736064510b.tar.bz2
mkinitfs-d99ce467d1e7de90e8ec2766e16f39736064510b.tar.xz
fix syslinux 5.x issue (kernel path passed in /proc/cmdline
-rwxr-xr-xinitramfs-init.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/initramfs-init.in b/initramfs-init.in
index 6e1ebc1..a481669 100755
--- a/initramfs-init.in
+++ b/initramfs-init.in
@@ -291,7 +291,7 @@ while [ $# -gt 0 ]; do
CONSOLE="$CONSOLE ${1#console=}";;
*=*) eval "KOPT_${1%%=*}='${1#*=}'" ;;
no*) eval "KOPT_$(echo ${1#no} | sed 's: :_:g')=no" ;;
- *) eval "KOPT_$(echo $1 | sed 's: :_:g')=yes" ;;
+ [A-Za-z]*) eval "KOPT_$(echo $1 | sed 's: :_:g')=yes" ;;
esac
shift
done