[package] base-files: revert r21595
authorjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 28 May 2010 10:52:02 +0000 (10:52 +0000)
committerjow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 28 May 2010 10:52:02 +0000 (10:52 +0000)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21597 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/base-files/files/lib/network/config.sh

index 37dc208..32170bb 100755 (executable)
@@ -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
                        }
This page took 0.028367 seconds and 4 git commands to generate.