In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/image_param.cgi line 14:
. /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/image_param.cgi line 44:
local dbus_cmd ret_val reply
^--------------------------^ 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/image_param.cgi line 48:
reply=$($dbus_cmd 2>/dev/null) && [ "$reply" ] ||
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/image_param.cgi line 54:
sed -rne "s/^.*$VARIANT[[:blank:]]+\"(.*)\"/\1/p")
^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/image_param.cgi line 59:
sed -rne "s/^.*$VARIANT[[:blank:]]+(.*)/\1/p")
^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/image_param.cgi line 66:
__cgi_hdgen $HDGEN
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_hdgen "$HDGEN"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/image_param.cgi line 72:
local reply param_value dbus_cmd
^-- 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/image_param.cgi line 88:
reply=$($dbus_cmd 2>/dev/null) && [ "$reply" ] ||
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/image_param.cgi line 91:
__cgi_hdgen $HDGEN
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_hdgen "$HDGEN"
For more information:
https://www.shellcheck.net/wiki/SC1087 -- Use braces when expanding arrays,...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/html/axis-cgi...