diff options
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 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 |