From 11cce768eb7e4f63ee8ea779d34d2b81b63257ad Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Wed, 16 Dec 2009 21:17:31 -0500 Subject: fix but that required 'ec2init=X' to be last thing on the cmdline --- ec2-is-compat-env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ec2-is-compat-env b/ec2-is-compat-env index 07034670..c987fe6f 100644 --- a/ec2-is-compat-env +++ b/ec2-is-compat-env @@ -59,8 +59,8 @@ fi if [ -e /proc/cmdline ] && read cmdline < /proc/cmdline; then # if cmdline has certain tokens in it, trust them case " ${cmdline} " in - *\ ${CMDLINE_EC2_COMPAT}=1\ ) xit 0;; - *\ ${CMDLINE_EC2_COMPAT}=0\ ) xit 1;; + *\ ${CMDLINE_EC2_COMPAT}=1\ *) xit 0;; + *\ ${CMDLINE_EC2_COMPAT}=0\ *) xit 1;; esac fi -- cgit v1.2.3