From: Mike Baker Date: Tue, 13 Jul 2004 08:36:09 +0000 (+0000) Subject: fix typo X-Git-Tag: reboot~33611 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=cc4329ca0ea4f9454cba2350eafdfde23da9c9eb;p=openwrt%2Fopenwrt.git fix typo SVN-Revision: 97 --- diff --git a/root/sbin/ifup b/root/sbin/ifup index 75ce15684c..34e19af3f6 100755 --- a/root/sbin/ifup +++ b/root/sbin/ifup @@ -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