projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9fd2b1
)
fix typo (#693)
author
Felix Fietkau
<nbd@openwrt.org>
Tue, 22 Aug 2006 12:24:37 +0000
(12:24 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Tue, 22 Aug 2006 12:24:37 +0000
(12:24 +0000)
SVN-Revision: 4628
openwrt/package/base-files/default/etc/functions.sh
patch
|
blob
|
history
diff --git
a/openwrt/package/base-files/default/etc/functions.sh
b/openwrt/package/base-files/default/etc/functions.sh
index d13bdc34373fecd062c0db59ba5e84e9960d0689..95550a236c16f208c2cec595f3c812af1c15b110 100755
(executable)
--- a/
openwrt/package/base-files/default/etc/functions.sh
+++ b/
openwrt/package/base-files/default/etc/functions.sh
@@
-73,7
+73,7
@@
do_ifup() {
DHCP_IP=$(nvram get ${2}_ipaddr)
DHCP_NETMASK=$(nvram get ${2}_netmask)
mtu=$(nvram get ${2}_mtu)
- $DEBUG ifconfig $if $
ip ${netmask:+netmask $netmask
} ${mtu:+mtu $(($mtu))} broadcast + up
+ $DEBUG ifconfig $if $
DHCP_IP ${DHCP_NETMASK:+netmask $DHCP_NETMASK
} ${mtu:+mtu $(($mtu))} broadcast + up
DHCP_ARGS="-i $if ${DHCP_IP:+-r $DHCP_IP} -b -p $pidfile"
DHCP_HOSTNAME=$(nvram get ${2}_hostname)