projects
/
openwrt
/
staging
/
zorun.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27ac661
)
fix typo
author
Mike Baker
<mbm@openwrt.org>
Tue, 13 Jul 2004 08:36:09 +0000
(08:36 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Tue, 13 Jul 2004 08:36:09 +0000
(08:36 +0000)
SVN-Revision: 97
root/sbin/ifup
patch
|
blob
|
history
diff --git
a/root/sbin/ifup
b/root/sbin/ifup
index 75ce15684cc9789a87997d591ea8f2a64ac284a2..34e19af3f6df282885ac833f64809a0e1093da23 100755
(executable)
--- 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 $i
f_i
p ${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