ramips: add Poray X5/X6 Support
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index 5e1a7a5651ed10ac734a9c024ee8c9ebfc8e6077..4b80afa966f9c13aa08b073f36959d3a9c43c729 100755 (executable)
@@ -75,7 +75,8 @@ platform_check_image() {
        whr-g300n |\
        ur-326n4g |\
        ur-336un |\
-       wr512-3gn)
+       wr512-3gn |\
+       x5)
                [ "$magic" != "27051956" ] && {
                        echo "Invalid image type."
                        return 1