projects
/
openwrt
/
svn-archive
/
archive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7f4a330
)
merge r13258 to 8.09
author
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 27 Nov 2008 15:36:20 +0000
(15:36 +0000)
committer
Jo-Philipp Wich
<jow@openwrt.org>
Thu, 27 Nov 2008 15:36:20 +0000
(15:36 +0000)
SVN-Revision: 13375
package/base-files/files/lib/network/config.sh
patch
|
blob
|
history
diff --git
a/package/base-files/files/lib/network/config.sh
b/package/base-files/files/lib/network/config.sh
index b89168e07c7eb172160c0fd82e6bbeb3b2a14329..3a3724706ef3a1e7e6c8d963ec81732083014420 100755
(executable)
--- a/
package/base-files/files/lib/network/config.sh
+++ b/
package/base-files/files/lib/network/config.sh
@@
-232,6
+232,7
@@
setup_interface() {
config_get mtu "$config" mtu
config_get macaddr "$config" macaddr
grep "$iface:" /proc/net/dev > /dev/null && \
+ $DEBUG ifconfig "$iface" down && \
$DEBUG ifconfig "$iface" ${macaddr:+hw ether "$macaddr"} ${mtu:+mtu $mtu} up
set_interface_ifname "$config" "$iface"