From 9acdc231dda90da55949fe00d9f70867565e5816 Mon Sep 17 00:00:00 2001 From: Tim Wilkinson Date: Fri, 6 Jan 2023 20:38:54 -0800 Subject: [PATCH] BAD TYPO - stops firmware being upgraded --- files/usr/local/bin/firmwarecheck.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/usr/local/bin/firmwarecheck.sh b/files/usr/local/bin/firmwarecheck.sh index 265afc8d..3f2e071f 100755 --- a/files/usr/local/bin/firmwarecheck.sh +++ b/files/usr/local/bin/firmwarecheck.sh @@ -8,7 +8,7 @@ include /lib/upgrade/ if $(platform_check_image "$*" > /dev/null 2>&1) then json=$(/usr/libexec/validate_firmware_image "$*" 2> /dev/null) - if [ "$(echo "$json" | jsonfilter -e '@.value')" = "true" ]; then + if [ "$(echo "$json" | jsonfilter -e '@.valid')" = "true" ]; then return 0; fi if [ "$(echo "$json" | jsonfilter -e '@.tests.fwtool_signature')" = "false" ]; then