ar71xx: complete support for RB wAP 2nD
[openwrt/openwrt.git] / target / linux / ar71xx / base-files / lib / upgrade / platform.sh
index 210e4a29706419b55c053c21cefa0dc5bdc534e0..4639ae32cf921d5f3dc5c2c9382a09ee8bd05a29 100755 (executable)
@@ -666,7 +666,8 @@ platform_check_image() {
        rb-952ui-5ac2nd|\
        rb-962uigs-5hact2hnt|\
        rb-lhg-5nd|\
-       rb-mapl-2nd)
+       rb-mapl-2nd|\
+       rb-wap-2nd)
                return 0
                ;;
        esac
@@ -725,7 +726,8 @@ platform_pre_upgrade() {
        rb-952ui-5ac2nd|\
        rb-962uigs-5hact2hnt|\
        rb-lhg-5nd|\
-       rb-mapl-2nd)
+       rb-mapl-2nd|\
+       rb-wap-2nd)
                # erase firmware if booted from initramfs
                [ -z "$(rootfs_type)" ] && mtd erase firmware
                ;;