prepwifi: handle extra IPs
This commit is contained in:
parent
118a799235
commit
101afd5857
|
@ -11,7 +11,7 @@ name=${2}
|
|||
|
||||
cd "out/${name}/files" || exit 3
|
||||
|
||||
newip=`grep ipaddr etc/config/network |tail -n1|cut -d \' -f 2`
|
||||
newip=`grep ipaddr etc/config/network|grep -v \# |tail -n1|cut -d \' -f 2`
|
||||
|
||||
if [ -z "$newip" ]; then
|
||||
echo ip not found
|
||||
|
|
Loading…
Reference in New Issue