In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 15:
	logger -t ${0##*/} -p WARNING -- "$*"
                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	logger -t "${0##*/}" -p WARNING -- "$*"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 20:
	logger -t ${0##*/} -p CRIT -- "$*"
                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	logger -t "${0##*/}" -p CRIT -- "$*"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 49:
	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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 54:
		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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 59:
			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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 65:
				. $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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 69:
				printf "\t<application name=\"$APPNAME\" />\n"
                                       ^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 88:
	local strs="" str= ret=""
        ^--------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                          ^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 91:
		. $EMBDEV_PARHAND_FILE
                  ^------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 96:
		if [ "$HTTP_USER_AGENT" != "${HTTP_USER_AGENT%*$str*}" ]; then
                                                               ^--^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean: 
		if [ "$HTTP_USER_AGENT" != "${HTTP_USER_AGENT%*"$str"*}" ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 101:
	echo $ret
             ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$ret"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 105:
	local resp= started=no
        ^-----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                   ^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 107:
	resp=$($DBUS_REQ_GET_APP_STATUS string:$PACKAGE_DIRECTORY/${APPNAME%.*}/$APPNAME 2>/dev/null)
                                                                  ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	resp=$($DBUS_REQ_GET_APP_STATUS string:$PACKAGE_DIRECTORY/"${APPNAME%.*}"/"$APPNAME" 2>/dev/null)


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 123:
	local packdir= fpath userstr=
        ^--------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                      ^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 128:
	[ -d $packdir ] || {
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -d "$packdir" ] || {


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 133:
	. $fpath || {
          ^----^ 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: 
	. "$fpath" || {


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 149:
	[ -r $fpath ] || {
             ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -r "$fpath" ] || {


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 156:
	cat $fpath
            ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	cat "$fpath"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 162:
	local line= packdir= tmpfile= fpath userstr=
        ^-- 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='' ... ).
                                     ^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 164:
	[ $# -eq 1 ] && [ "$1" ] || {
                     ^-- 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/vaconfig.cgi line 173:
	rm -f $tmpfile
              ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	rm -f "$tmpfile"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 174:
	while read line; do
              ^--^ SC2162 (info): read without -r will mangle backslashes.


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 175:
		echo $line >> $tmpfile
                     ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
                              ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		echo "$line" >> "$tmpfile"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 184:
	[ -z "$line" ] || echo $line >> $tmpfile
                               ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                        ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -z "$line" ] || echo "$line" >> "$tmpfile"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 188:
	[ -d $packdir ] || {
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -d "$packdir" ] || {


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 194:
	. $fpath || {
          ^----^ 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: 
	. "$fpath" || {


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 196:
		rm -f $tmpfile
                      ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		rm -f "$tmpfile"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 212:
	chmod 644 $tmpfile 2>/dev/null || {
                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	chmod 644 "$tmpfile" 2>/dev/null || {


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 214:
		rm -f $tmpfile
                      ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		rm -f "$tmpfile"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 217:
	chgrp admin $tmpfile 2>/dev/null || {
                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	chgrp admin "$tmpfile" 2>/dev/null || {


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 219:
		rm -f $tmpfile
                      ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		rm -f "$tmpfile"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 226:
	fsynced_write_or_cleanup $tmpfile $fpath
                                 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                          ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	fsynced_write_or_cleanup "$tmpfile" "$fpath"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 229:
		rm -f $tmpfile
                      ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		rm -f "$tmpfile"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 234:
	if [ "$($DBUS_REQ_GET_APP_STATUS string:$fpath 2>/dev/null)" ]; then
                                                ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$($DBUS_REQ_GET_APP_STATUS string:"$fpath" 2>/dev/null)" ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 235:
		if [ "$($DBUS_REQ_REMOVE_APP string:$fpath 2>/dev/null)" ]; then
                                                    ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ "$($DBUS_REQ_REMOVE_APP string:"$fpath" 2>/dev/null)" ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 236:
			if [ "$($DBUS_REQ_ADD_APP string:$fpath 2>/dev/null)" ]; then
                                                         ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			if [ "$($DBUS_REQ_ADD_APP string:"$fpath" 2>/dev/null)" ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 237:
				if [ $STARTMODE = auto ]; then
                                     ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				if [ "$STARTMODE" = auto ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 238:
					if [ "$($DBUS_REQ_START_APP string:$fpath 2>/dev/null)" ]; then
                                                                           ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
					if [ "$($DBUS_REQ_START_APP string:"$fpath" 2>/dev/null)" ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/vaconfig.cgi line 259:
[ "$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...