1
0
mirror of git://projects.qi-hardware.com/openwrt-xburst.git synced 2024-11-24 01:43:08 +02:00
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@97 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
mbm 2004-07-13 08:36:09 +00:00
parent 06a249e3a9
commit d23c87e9b2

View File

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