1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-11-18 14:47:46 +01:00
SVN-Revision: 97
This commit is contained in:
Mike Baker 2004-07-13 08:36:09 +00:00
parent 27ac661949
commit cc4329ca0e

@ -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