diff --git a/target/linux/ipq40xx/base-files/etc/board.d/01_leds b/target/linux/ipq40xx/base-files/etc/board.d/01_leds index adf5a16b36..b8ed907ee6 100755 --- a/target/linux/ipq40xx/base-files/etc/board.d/01_leds +++ b/target/linux/ipq40xx/base-files/etc/board.d/01_leds @@ -57,7 +57,7 @@ hugo,ac1200) ucidef_set_led_default "blue" "BLUE" "${boardname}:blue:ctrl3" "1" ;; mobipromo,cm520-79f) - ucidef_set_led_netdev "wan" "WAN" "${boardname}:blue:wan" "eth1" + ucidef_set_led_switch "wan" "WAN" "${boardname}:blue:wan" "switch0" "0x20" ucidef_set_led_switch "lan1" "LAN1" "${boardname}:blue:lan1" "switch0" "0x10" ucidef_set_led_switch "lan2" "LAN2" "${boardname}:blue:lan2" "switch0" "0x08" ;; diff --git a/target/linux/ipq40xx/base-files/etc/board.d/02_network b/target/linux/ipq40xx/base-files/etc/board.d/02_network index 680b11e976..3706c97b29 100755 --- a/target/linux/ipq40xx/base-files/etc/board.d/02_network +++ b/target/linux/ipq40xx/base-files/etc/board.d/02_network @@ -66,8 +66,7 @@ ipq40xx_setup_interfaces() ;; mobipromo,cm520-79f) ucidef_add_switch "switch0" \ - "0t@eth0" "3:lan:2" "4:lan:1" - ucidef_set_interface_wan "eth1" + "0t@eth0" "3:lan:2" "4:lan:1" "5:wan" ;; netgear,ex6100v2|\ netgear,ex6150v2|\