"elif" needs condition, but in this case
do not need condition so replace this with "else".
Change-Id: Id2966379d79c579c15f345255a59220f49f3cbd2
Signed-off-by: Munkyu Im <munkyu.im@samsung.com>
if [ "$2" == "" ];then
NETMASK=""
-elif
+else
NETMASK=`ifconfig $2 | grep "inet " | awk '{print $4}' | cut -d : -f2`
fi
GW=`netstat -rn | grep ^0.0.0.0 | awk '{print $2}'`
echo "netmask is NULL"
echo ifconfig $BR $BASEIPADDR
ifconfig $BR $BASEIPADDR
-elif
+else
echo ifconfig $BR $BASEIPADDR netmask $NETMASK
ifconfig $BR $BASEIPADDR netmask $NETMASK
fi