diff options
| author | Mike Baker <mbm@openwrt.org> | 2004-07-13 08:36:09 +0000 |
|---|---|---|
| committer | Mike Baker <mbm@openwrt.org> | 2004-07-13 08:36:09 +0000 |
| commit | 38a0a8436b3d9d6ba84ce0db99392f92bbf5c1ee (patch) | |
| tree | e3c122fc45e29a1a151b6c6b5005bd3eeb706845 /root | |
| parent | 4bab11f031e60039e47506fd04c3b60a9f5d0495 (diff) | |
| download | upstream-38a0a8436b3d9d6ba84ce0db99392f92bbf5c1ee.tar.gz upstream-38a0a8436b3d9d6ba84ce0db99392f92bbf5c1ee.tar.bz2 upstream-38a0a8436b3d9d6ba84ce0db99392f92bbf5c1ee.zip | |
fix typo
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@97 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'root')
| -rwxr-xr-x | root/sbin/ifup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/root/sbin/ifup b/root/sbin/ifup index 75ce15684cc..34e19af3f6d 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 |
