done;
MODEMCLASSES=`echo $MODEMCLASSES | $SED -e 's/3/2.0/g' -e 's/4/1.0/g' -e 's/5/2.1/g' -e 's/ $//g'`
SUPPORT=`echo $SUPPORT | $SED -e 's/3/2.0/g' -e 's/4/1.0/g' -e 's/5/2.1/g'`.
- if [ "`echo $SUPPORT | $GREP " "`" == "" ]; then echo $SUPPORT; fi
+ if [ "`echo $SUPPORT | $GREP " "`" = "" ]; then echo $SUPPORT; fi
case "$MODEMCLASSES" in
"") giveup;;
"1") ModemType=Class1; configureClass1Modem;;
*)
DEFAULTCLASS=`echo $MODEMCLASSES | $SED 's/\([^ ]*\).*/\1/g'`
x=""
- while [ "`echo " $MODEMCLASSES " | $GREP " $x "`" == "" ]; do
+ while [ "`echo " $MODEMCLASSES " | $GREP " $x "`" = "" ]; do
echo $SUPPORT
prompt "How should it be configured [$DEFAULTCLASS]?"
read x
- if [ "$x" == "" ]; then x=$DEFAULTCLASS; fi
+ if [ "$x" = "" ]; then x=$DEFAULTCLASS; fi
done
echo ""
case "$x" in