ramips: add support for D-Link DWR-116-A1/2
[openwrt/openwrt.git] / target / linux / ramips / base-files / lib / upgrade / platform.sh
index d2bd860..e6489a2 100755 (executable)
@@ -270,6 +270,13 @@ platform_check_image() {
                }
                return 0
                ;;
+       dlink,dwr-116-a1)
+               [ "$magic" != "0404242b" ] && {
+                       echo "Invalid image type."
+                       return 1
+               }
+               return 0
+               ;;
        hc5962|\
        mir3g|\
        r6220|\