X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/95e7b381e96d1f6e3108500dec66d980739ca058..8864f5ea2fe1aca46fa4f97376923c63507ff95c:/package/base-files/default/sbin/ifup?ds=sidebyside diff --git a/package/base-files/default/sbin/ifup b/package/base-files/default/sbin/ifup index 35b2fc4cd..c7055d480 100755 --- a/package/base-files/default/sbin/ifup +++ b/package/base-files/default/sbin/ifup @@ -10,12 +10,5 @@ case "$iftype" in esac for dev in $ifname; do - brctl show | grep "$dev" >/dev/null && { - # interface is still part of a bridge, correct that - - for brdev in $(brctl show | awk '$2 ~ /^[0-9].*\./ { print $1 }'); do - brctl delif "$brdev" "$dev" 2>/dev/null >/dev/null - done - } setup_interface "$dev" "$1" done