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 | cc4329ca0ea4f9454cba2350eafdfde23da9c9eb (patch) | |
tree | e3c122fc45e29a1a151b6c6b5005bd3eeb706845 /root | |
parent | 27ac66194964a06dfa01562f0e162f04433a31d5 (diff) | |
download | mtk-20170518-cc4329ca0ea4f9454cba2350eafdfde23da9c9eb.zip mtk-20170518-cc4329ca0ea4f9454cba2350eafdfde23da9c9eb.tar.gz mtk-20170518-cc4329ca0ea4f9454cba2350eafdfde23da9c9eb.tar.bz2 |
fix typo
SVN-Revision: 97
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 75ce156..34e19af 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 |