SVN-Revision: 97
master
Mike Baker 20 years ago
parent 27ac661949
commit cc4329ca0e
  1. 2
      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

Loading…
Cancel
Save