package/base-files: nuke bridge hardcoding from lan
[openwrt-working-2016/.git] / package / base-files / files / bin / config_generate
index 4256d3ce4d8912ed0f2582780fb7ea4f054a3b8a..010fbfe5b54ea61040099b83e733bd8094b5e24b 100755 (executable)
@@ -67,9 +67,9 @@ generate_network() {
        [ -n "$ifname" ] || return
 
        # force bridge for multi-interface devices (and lan)
-       case "$1:$ifname" in
-               *\ * | lan:*) type="bridge" ;;
-       esac
+#      case "$1:$ifname" in
+#              *\ * | lan:*) type="bridge" ;;
+#      esac
 
        uci -q batch <<-EOF
                delete network.$1