From d23c87e9b258c7ab7e870f49c48a8bf80ba5f054 Mon Sep 17 00:00:00 2001 From: mbm Date: Tue, 13 Jul 2004 08:36:09 +0000 Subject: fix typo git-svn-id: svn://svn.openwrt.org/openwrt/trunk@97 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- root/sbin/ifup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'root') 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 -- cgit v1.2.3