In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 11:
logger -t ${0##*/} -p INFO -- "$*"
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
logger -t "${0##*/}" -p INFO -- "$*"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 15:
logger -t ${0##*/} -p WARNING -- "$*"
^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
logger -t "${0##*/}" -p WARNING -- "$*"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 20:
logger -t ${0##*/} -p CRIT -- "$*"
^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
logger -t "${0##*/}" -p CRIT -- "$*"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 21:
SYNC_ERROR=1
^--------^ SC2034 (warning): SYNC_ERROR appears unused. Verify use (or export if used externally).
^----------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 24:
. /lib/rcscripts/sh/files.sh
^------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/files.sh was not specified as input (see shellcheck -x).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 26:
. /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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 43:
local listpack= found= p
^----------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 48:
cd $PACKAGE_DIRECTORY
^-------------------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
Did you mean:
cd $PACKAGE_DIRECTORY || exit
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 53:
if [ -r $p/$ADPPACKCFG ]; then
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ -r "$p"/$ADPPACKCFG ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 59:
. $p/$ADPPACKCFG || :
^------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
. "$p"/$ADPPACKCFG || :
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 63:
printf "\t<application name=\"$APPNAME\" />\n"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 78:
[ "$REQUEST_METHOD" != POST ] || read QUERY_STRING
^--^ SC2162 (info): read without -r will mangle backslashes.
^----------^ SC2034 (warning): QUERY_STRING appears unused. Verify use (or export if used externally).
For more information:
https://www.shellcheck.net/wiki/SC1007 -- Remove space after = if trying to...
https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
https://www.shellcheck.net/wiki/SC2034 -- QUERY_STRING appears unused. Veri...