In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/cgi/admin/tools_leveloftrust.cgi line 8:
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/cgi/admin/tools_leveloftrust.cgi line 9:
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/cgi/admin/tools_leveloftrust.cgi line 10:
version=$Version_ss
^-----^ SC2034 (warning): version appears unused. Verify use (or export if used externally).
^---------^ 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/cgi/admin/tools_leveloftrust.cgi line 11:
vendor=$Vendor_ms
^----^ SC2034 (warning): vendor appears unused. Verify use (or export if used externally).
^--------^ 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/cgi/admin/tools_leveloftrust.cgi line 12:
oem=$OEM_ms
^-^ SC2034 (warning): oem appears unused. Verify use (or export if used externally).
^-----^ 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/cgi/admin/tools_leveloftrust.cgi line 13:
model=$Model_ss
^---^ SC2034 (warning): model appears unused. Verify use (or export if used externally).
^-------^ 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/cgi/admin/tools_leveloftrust.cgi line 14:
product=$ProdNumber_ss
^-----^ SC2034 (warning): product appears unused. Verify use (or export if used externally).
^------------^ 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/cgi/admin/tools_leveloftrust.cgi line 15:
hwBoard=$HWBoard
^-----^ SC2034 (warning): hwBoard appears unused. Verify use (or export if used externally).
^------^ 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/cgi/admin/tools_leveloftrust.cgi line 16:
hwVersion=$HWVersion
^-------^ SC2034 (warning): hwVersion appears unused. Verify use (or export if used externally).
^--------^ 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/cgi/admin/tools_leveloftrust.cgi line 17:
desc=""
^--^ 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/cgi/admin/tools_leveloftrust.cgi line 20:
[ "$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/cgi/admin/tools_leveloftrust.cgi line 21:
StaticTrustLevel=`tdb get SecureFW StaticTL_byte`
^-- 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/cgi/admin/tools_leveloftrust.cgi line 22:
LevelOfTrust=`tdb get SecureFW TrustLevel_byte`
^-- SC2006 (style): Use $(...) notation instead of legacy backticks `...`.
Did you mean:
LevelOfTrust=$(tdb get SecureFW TrustLevel_byte)
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/cgi/admin/tools_leveloftrust.cgi line 31:
if [ "$LevelOfTrust" = "1" -o "$LevelOfTrust" = "2" -o "$LevelOfTrust" = "3" ]; then
^-- SC2166 (warning): Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
^-- SC2166 (warning): Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/cgi/admin/tools_leveloftrust.cgi line 39:
resultTag $result
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
resultTag "$result"
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/cgi/admin/tools_leveloftrust.cgi line 47:
. ../../xmlFunctions.sh
^-------------------^ SC1091 (info): Not following: ../../xmlFunctions.sh was not specified as input (see shellcheck -x).
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/cgi/admin/tools_leveloftrust.cgi line 48:
. ../../cgiMain.sh
^--------------^ SC1091 (info): Not following: ../../cgiMain.sh was not specified as input (see shellcheck -x).
For more information:
https://www.shellcheck.net/wiki/SC2034 -- desc appears unused. Verify use (...
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
https://www.shellcheck.net/wiki/SC2154 -- HWBoard is referenced but not ass...