mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
ramips: fix wsr-1166 sysupgrade support
Signed-off-by: Felix Fietkau <nbd@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43816 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -91,7 +91,6 @@ platform_check_image() {
|
||||
whr-600d |\
|
||||
whr-1166d |\
|
||||
wsr-600 |\
|
||||
wsr-1166 |\
|
||||
wl-330n | \
|
||||
wl-330n3g | \
|
||||
wl-351 | \
|
||||
@@ -116,6 +115,13 @@ platform_check_image() {
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
wsr-1166)
|
||||
[ "$magic" != "48445230" ] && {
|
||||
echo "Invalid image type."
|
||||
return 1
|
||||
}
|
||||
return 0
|
||||
;;
|
||||
ar670w)
|
||||
[ "$magic" != "6d000080" ] && {
|
||||
echo "Invalid image type."
|
||||
|
||||
Reference in New Issue
Block a user