Author: nbd Date: 2015-01-03 19:31:06 +0100 (Sat, 03 Jan 2015) New Revision: 43816
Modified: trunk/target/linux/ramips/base-files/lib/upgrade/platform.sh Log: ramips: fix wsr-1166 sysupgrade support Signed-off-by: Felix Fietkau <[email protected]> Modified: trunk/target/linux/ramips/base-files/lib/upgrade/platform.sh =================================================================== --- trunk/target/linux/ramips/base-files/lib/upgrade/platform.sh 2015-01-03 18:30:57 UTC (rev 43815) +++ trunk/target/linux/ramips/base-files/lib/upgrade/platform.sh 2015-01-03 18:31:06 UTC (rev 43816) @@ -91,7 +91,6 @@ whr-600d |\ whr-1166d |\ wsr-600 |\ - wsr-1166 |\ wl-330n | \ wl-330n3g | \ wl-351 | \ @@ -116,6 +115,13 @@ } return 0 ;; + wsr-1166) + [ "$magic" != "48445230" ] && { + echo "Invalid image type." + return 1 + } + return 0 + ;; ar670w) [ "$magic" != "6d000080" ] && { echo "Invalid image type." _______________________________________________ openwrt-commits mailing list [email protected] https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-commits
