diff options
-rw-r--r-- | package/base-files/files/lib/upgrade/fwtool.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/package/base-files/files/lib/upgrade/fwtool.sh b/package/base-files/files/lib/upgrade/fwtool.sh index 984c173097..49f02b7bd9 100644 --- a/package/base-files/files/lib/upgrade/fwtool.sh +++ b/package/base-files/files/lib/upgrade/fwtool.sh @@ -9,6 +9,9 @@ fwtool_check_image() { if ! fwtool -q -i /tmp/sysupgrade.meta "$1"; then echo "Image metadata not found" + [ "$REQUIRE_IMAGE_METADATA" = 1 -a "$FORCE" != 1 ] && { + echo "Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware" + } [ "$REQUIRE_IMAGE_METADATA" = 1 ] && return 1 return 0 fi |