diff options
Diffstat (limited to 'root')
-rwxr-xr-x | root/etc/functions.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/root/etc/functions.sh b/root/etc/functions.sh index 09ba6feea..1f9afb294 100755 --- a/root/etc/functions.sh +++ b/root/etc/functions.sh @@ -67,7 +67,7 @@ ifup () ( if_netmask=$(nvram_get ${type}_netmask) if_gateway=$(nvram_get ${type}_gateway) - $DEBUG ifconfig $if $if_ip ${if_netmask:+netmask $if_netmask} up + $DEBUG ifconfig $if $if_ip ${if_netmask:+netmask $if_netmask} broadcast + up ${if_gateway:+$DEBUG route add default gw $if_gateway} [ -f /etc/resolv.conf ] && return |