summaryrefslogtreecommitdiff
path: root/package/base-files/files/lib
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
commit09df0523fd574821743f4be6aa6575481c9a5e62 (patch)
tree1db8957466cfcc07828ec3c59db53de1a426b9b2 /package/base-files/files/lib
parent482b8385d2c3f225ee0d818e390797e123ffce20 (diff)
downloadmtk-20170518-09df0523fd574821743f4be6aa6575481c9a5e62.zip
mtk-20170518-09df0523fd574821743f4be6aa6575481c9a5e62.tar.gz
mtk-20170518-09df0523fd574821743f4be6aa6575481c9a5e62.tar.bz2
base-files: revert r21595
SVN-Revision: 21597
Diffstat (limited to 'package/base-files/files/lib')
-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 37dc208..32170bb 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
}