In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 4:
	echo -n "\
             ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 17:
	eval $(dumpSystemKeys | tdb get System) || return 1
             ^-- SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 18:
	eval $(pibinfo all) || return 1
             ^------------^ SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 19:
	version=$Version_ss
                ^---------^ SC2154 (warning): Version_ss is referenced but not assigned.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 20:
	vendor=$Vendor_ms
               ^--------^ SC2154 (warning): Vendor_ms is referenced but not assigned.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 21:
	oem=$OEM_ms
            ^-----^ SC2154 (warning): OEM_ms is referenced but not assigned.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 22:
	model=$Model_ss
              ^-------^ SC2154 (warning): Model_ss is referenced but not assigned.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 23:
	product=$ProdNumber_ss
                ^------------^ SC2154 (warning): ProdNumber_ss is referenced but not assigned.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 24:
	hwBoard=$HWBoard
                ^------^ SC2154 (warning): HWBoard is referenced but not assigned (did you mean 'hwBoard'?).


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 25:
	hwVersion=$HWVersion
                  ^--------^ SC2154 (warning): HWVersion is referenced but not assigned (did you mean 'hwVersion'?).


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 29:
	[ "$hasPT" = "yes" ] && mcuVersion=$(pt_firmware -v)
                                ^--------^ SC2034 (warning): mcuVersion appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 30:
	StaticTrustLevel=`tdb get SecureFW StaticTL_byte`
        ^--------------^ SC2034 (warning): StaticTrustLevel appears unused. Verify use (or export if used externally).
                         ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	StaticTrustLevel=$(tdb get SecureFW StaticTL_byte)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 37:
	echo $(( $major*100 + $minor*10 + $sub ))
                 ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
                              ^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
                                          ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 43:
	fw_sign_verify.sh $uploadbin /etc/db/verify.key > /dev/null 2> /dev/null
                          ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	fw_sign_verify.sh "$uploadbin" /etc/db/verify.key > /dev/null 2> /dev/null


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 60:
	"$out" exam $uploadbin > /dev/null 2> /dev/null || return 1
                    ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	"$out" exam "$uploadbin" > /dev/null 2> /dev/null || return 1


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 66:
	eval $("$out" info) || return 1
             ^------------^ SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 67:
	version=$VERSION
        ^-----^ SC2034 (warning): version appears unused. Verify use (or export if used externally).
                ^------^ SC2153 (info): Possible misspelling: VERSION may not be assigned. Did you mean version?


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 68:
	vendor=$VENDOR
        ^----^ SC2034 (warning): vendor appears unused. Verify use (or export if used externally).
               ^-----^ SC2153 (info): Possible misspelling: VENDOR may not be assigned. Did you mean vendor?


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 69:
	oem=$OEM
        ^-^ SC2034 (warning): oem appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 70:
	model=$MODEL
        ^---^ SC2034 (warning): model appears unused. Verify use (or export if used externally).
              ^----^ SC2153 (info): Possible misspelling: MODEL may not be assigned. Did you mean model?


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 71:
	product=$PRODUCT
        ^-----^ SC2034 (warning): product appears unused. Verify use (or export if used externally).
                ^------^ SC2153 (info): Possible misspelling: PRODUCT may not be assigned. Did you mean product?


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 72:
	desc=$DESCRIPT
        ^--^ SC2034 (warning): desc appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 73:
	hwBoard=$HWBOARD
        ^-----^ SC2034 (warning): hwBoard appears unused. Verify use (or export if used externally).
                ^------^ SC2153 (info): Possible misspelling: HWBOARD may not be assigned. Did you mean hwBoard?


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 74:
	hwVersion=$HWVERSION
        ^-------^ SC2034 (warning): hwVersion appears unused. Verify use (or export if used externally).
                  ^--------^ SC2153 (info): Possible misspelling: HWVERSION may not be assigned. Did you mean hwVersion?


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 105:
	$(echo "$models" | grep "$Model_ss" >/dev/null 2>/dev/null) || return 1
        ^-- SC2091 (warning): Remove surrounding $() to avoid executing output (or use eval if intentional).


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 122:
	echo "OEMVERSION=$OEMVersion_ss"
                         ^------------^ SC2154 (warning): OEMVersion_ss is referenced but not assigned.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 132:
	"$out" update $uploadbin > /dev/null 2> /dev/null || return 1
                      ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	"$out" update "$uploadbin" > /dev/null 2> /dev/null || return 1


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 145:
	TrustLevel=`tdb get SecureFW _TrustLevel_byte`
                   ^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
	TrustLevel=$(tdb get SecureFW _TrustLevel_byte)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 159:
	if [ "$do_up" = "1" -a "$ret" != "0" -a "$TrustLevel" = "1" ]; then
                            ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
                                             ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 184:
	[ "$result" == "infoOK" ] && exit 0
                    ^-- SC3014 (warning): In POSIX sh, == in place of = is undefined.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 185:
	[ "$result" == "updateOK" ] && {(sleep 5 && reboot) > /dev/null 2> /dev/null &} && exit 0
                    ^-- SC3014 (warning): In POSIX sh, == in place of = is undefined.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 190:
	echo $&commat
             ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/sbin/fwupdate line 209:
scenario=$(basename $1 | cut -d'.' -f1)
                    ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
scenario=$(basename "$1" | cut -d'.' -f1)

For more information:
  https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ...
  https://www.shellcheck.net/wiki/SC2034 -- StaticTrustLevel appears unused. ...
  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...