ar71xx: remove PB92 reference design board support
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / etc / uci-defaults / 03_network-switchX-migration
old mode 100755 (executable)
new mode 100644 (file)
index 31ce548..f1b3ae1
@@ -34,7 +34,7 @@ migrate_switch_name() {
        config_foreach do_change_switch_name switch name $oldname $newname
        config_foreach do_change_switch_name switch_vlan device $oldname $newname
 
-       [ "$SWITCH_NAME_CHANGED" == "1" ] && {
+       [ "$SWITCH_NAME_CHANGED" = "1" ] && {
                logger -t migrate-switchX "Switch names updated, saving network configuration"
                uci commit network
        }
@@ -47,8 +47,6 @@ board=$(ar71xx_board_name)
 case "$board" in
 dir-825-c1|\
 wzr-hp-g300nh2|\
-pb92|\
-ap113|\
 tl-wdr4300|\
 tl-wr1041n-v2|\
 wrt160nl|\
@@ -76,6 +74,7 @@ whr-hp-g300n|\
 whr-hp-gn|\
 wzr-hp-ag300h|\
 wzr-hp-g450h|\
+z1|\
 ew-dorin|\
 ew-dorin-router)
        migrate_switch_name "eth0" "switch0"