In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 12:
. /usr/html/axis-cgi/lib/functions.sh
^-- SC1091 (info): Not following: /usr/html/axis-cgi/lib/functions.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 22:
local code msg
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 27:
logger -t $(__whoami)[$$] -p user.warn "$msg"
^---------^ SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 36:
__cgi_errhd $code "$msg"
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd "$code" "$msg"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 41:
if [ $code -lt 400 ]; then
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$code" -lt 400 ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 51:
local sleepTime=2 maxIter=15 iter=0 isActive limit
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 54:
isActive=$(busctl get-property $nattraversal Active) ||
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
isActive=$(busctl get-property "$nattraversal" Active) ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 58:
iter=$(($iter + 1))
^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 61:
limit=$(($maxIter * $sleepTime))
^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
^--------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 76:
busctl call $nattraversal SetRouter s "$router" ||
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
busctl call "$nattraversal" SetRouter s "$router" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 82:
busctl call $nattraversal Enable ||
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
busctl call "$nattraversal" Enable ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 90:
busctl call $nattraversal Disable ||
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
busctl call "$nattraversal" Disable ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/nattraversal.cgi line 99:
status 400 'NAT traversal could not be activated'
^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
For more information:
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/html/axis-cgi...