fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@97 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
4bab11f031
commit
38a0a8436b
|
@ -34,7 +34,7 @@
|
|||
netmask=$(nvram_get ${type}_netmask)
|
||||
gateway=$(nvram_get ${type}_gateway)
|
||||
|
||||
$DEBUG ifconfig $if $if_ip ${netmask:+netmask $netmask} broadcast + up
|
||||
$DEBUG ifconfig $if $ip ${netmask:+netmask $netmask} broadcast + up
|
||||
${gateway:+$DEBUG route add default gw $gateway}
|
||||
|
||||
[ -f /etc/resolv.conf ] && return
|
||||
|
|
Loading…
Reference in New Issue