git-svn-id: svn://svn.openwrt.org/openwrt/trunk@97 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Mike Baker 2004-07-13 08:36:09 +00:00
parent 4bab11f031
commit 38a0a8436b
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
netmask=$(nvram_get ${type}_netmask) netmask=$(nvram_get ${type}_netmask)
gateway=$(nvram_get ${type}_gateway) 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} ${gateway:+$DEBUG route add default gw $gateway}
[ -f /etc/resolv.conf ] && return [ -f /etc/resolv.conf ] && return