diff --git a/feeds/ipq807x/ipq807x/base-files/etc/board.d/02_network b/feeds/ipq807x/ipq807x/base-files/etc/board.d/02_network index cf850412..b3e9120b 100755 --- a/feeds/ipq807x/ipq807x/base-files/etc/board.d/02_network +++ b/feeds/ipq807x/ipq807x/base-files/etc/board.d/02_network @@ -64,10 +64,7 @@ qcom_setup_interfaces() ucidef_set_interface_wan "eth0" ;; cig,wf186w) - mtd=$(find_mtd_chardev "0:APPSBLENV") - [ -z "$mtd" ] && return; - [ -n "$(grep model= $mtd|grep 186H)" ] && echo 186H > /tmp/port_lable && ucidef_add_switch "switch0" "4:wan" "1:lan" "2:lan" "6@eth0" - [ -z "$(grep model= $mtd|grep 186H)" ] && echo 186W >> /tmp/port_lable && ucidef_add_switch "switch0" "4:wan" "0:lan" "1:lan" "2:lan" "3:lan" "6@eth0" + ucidef_add_switch "switch0" "4:wan" "0:lan" "1:lan" "2:lan" "3:lan" "6@eth0" ;; yuncore,fap650) ucidef_set_interface_lan "eth3 eth2 eth1 eth0"