Browse Source

enable sysupgrade on the WRT160Nl

SVN-Revision: 17202
Gabor Juhos 16 years ago
parent
commit
a59d59be79
1 changed files with 8 additions and 1 deletions
  1. 8 1
      target/linux/ar71xx/base-files/lib/upgrade/platform.sh

+ 8 - 1
target/linux/ar71xx/base-files/lib/upgrade/platform.sh

@@ -21,13 +21,20 @@ platform_check_image() {
 		}
 		return 0
 		;;
-	 tl-wr741nd | tl-wr941nd)
+	tl-wr741nd | tl-wr941nd)
 		[ "$magic" != "0100" ] && {
 			echo "Invalid image type."
 			return 1
 		}
 		return 0
 		;;
+	wrt160nl)
+		[ "$magic" != "4e4c" ] && {
+			echo "Invalid image type."
+			return 1
+		}
+		return 0
+		;;
 	esac
 
 	echo "Sysupgrade is not yet supported on $board."