aboutsummaryrefslogtreecommitdiffstats
path: root/package/base-files
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2010-05-28 10:52:02 +0000
committerJo-Philipp Wich <jow@openwrt.org>2010-05-28 10:52:02 +0000
commitc348523ec983fb2f04dd9f8607a684082b1c6a6b (patch)
treed5e4c175c77033684889e71c04d182d21d0378a4 /package/base-files
parent97d22ab94aa4266bafaa84352a86908c5af99b29 (diff)
downloadupstream-c348523ec983fb2f04dd9f8607a684082b1c6a6b.tar.gz
upstream-c348523ec983fb2f04dd9f8607a684082b1c6a6b.tar.bz2
upstream-c348523ec983fb2f04dd9f8607a684082b1c6a6b.zip
[package] base-files: revert r21595
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21597 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/base-files')
-rwxr-xr-xpackage/base-files/files/lib/network/config.sh2
1 files changed, 0 insertions, 2 deletions
diff --git a/package/base-files/files/lib/network/config.sh b/package/base-files/files/lib/network/config.sh
index 37dc2085fb..32170bb274 100755
--- a/package/base-files/files/lib/network/config.sh
+++ b/package/base-files/files/lib/network/config.sh
@@ -170,8 +170,6 @@ prepare_interface() {
# result in another setup_interface() call, so we simply stop processing
# the current event at this point.
}
-
- [ -n "$macaddr" ] && ifconfig "$iface" down 2>/dev/null >/dev/null
ifconfig "$iface" ${macaddr:+hw ether "${macaddr}"} up 2>/dev/null >/dev/null
return 1
}