mirror of
https://github.com/outbackdingo/wlan-ap.git
synced 2026-01-27 10:20:52 +00:00
WIFI-12915 CIG WF-186w: Adjust the LAN ID to match printed labels
Signed-off-by: Ken <xshi@actiontec.com>
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user