mirror of https://github.com/aredn/aredn.git
BAD TYPO - stops firmware being upgraded
This commit is contained in:
parent
93ba4ca367
commit
9acdc231dd
|
@ -8,7 +8,7 @@ include /lib/upgrade/
|
||||||
if $(platform_check_image "$*" > /dev/null 2>&1)
|
if $(platform_check_image "$*" > /dev/null 2>&1)
|
||||||
then
|
then
|
||||||
json=$(/usr/libexec/validate_firmware_image "$*" 2> /dev/null)
|
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;
|
return 0;
|
||||||
fi
|
fi
|
||||||
if [ "$(echo "$json" | jsonfilter -e '@.tests.fwtool_signature')" = "false" ]; then
|
if [ "$(echo "$json" | jsonfilter -e '@.tests.fwtool_signature')" = "false" ]; then
|
||||||
|
|
Loading…
Reference in New Issue