diff options
Diffstat (limited to 'target/linux/ramips/base-files/lib/upgrade/platform.sh')
-rwxr-xr-x | target/linux/ramips/base-files/lib/upgrade/platform.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/linux/ramips/base-files/lib/upgrade/platform.sh b/target/linux/ramips/base-files/lib/upgrade/platform.sh index 0230a1829b..8bc2abd156 100755 --- a/target/linux/ramips/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/base-files/lib/upgrade/platform.sh @@ -100,6 +100,13 @@ platform_check_image() { } return 0 ;; + br-6475nd) + [ "$magic" != "43535953" ] && { + echo "Invalid image type." + return 1 + } + return 0 + ;; esac echo "Sysupgrade is not yet supported on $board." |