From: Jo-Philipp Wich Date: Fri, 28 May 2010 10:52:02 +0000 (+0000) Subject: base-files: revert r21595 X-Git-Tag: v19.07.0-rc1~30441 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09df0523fd574821743f4be6aa6575481c9a5e62;p=openwrt%2Fstaging%2Fhauke.git base-files: revert r21595 SVN-Revision: 21597 --- 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 }