In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 14:
	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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 18:
	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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 22:
	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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 25:
. /usr/html/axis-cgi/lib/acap_handle_files.sh
  ^-- SC1091 (info): Not following: /usr/html/axis-cgi/lib/acap_handle_files.sh was not specified as input (see shellcheck -x).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 26:
. /lib/rcscripts/sh/cmpversions.sh
  ^-- SC1091 (info): Not following: /lib/rcscripts/sh/cmpversions.sh was not specified as input (see shellcheck -x).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 28:
. /usr/html/axis-cgi/lib/preserve.sh
  ^-- SC1091 (info): Not following: /usr/html/axis-cgi/lib/preserve.sh was not specified as input (see shellcheck -x).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 30:
. /usr/html/axis-cgi/lib/limited_access.sh
  ^-- SC1091 (info): Not following: /usr/html/axis-cgi/lib/limited_access.sh was not specified as input (see shellcheck -x).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 48:
LOCKFILEPATH=$VAR_LOCK_DIR/$LOCKFILENAME
^----------^ SC2034 (warning): LOCKFILEPATH appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 49:
ACAP_TARGET_WANTS=/etc/systemd/system/acap.target.wants
^---------------^ SC2034 (warning): ACAP_TARGET_WANTS appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 65:
	local error_nbr=$1 pack=$2 exit_status=1 fwurl=
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
                        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local error_nbr="$1" pack="$2" exit_status=1 fwurl=


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 78:
		printf "Error: $error_nbr"
                       ^-----------------^ 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 86:
	local line
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 89:
	[ -r $1 ] || error "$1 not readable"
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -r "$1" ] || error "$1 not readable"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 91:
	while read line; do
              ^--^ SC2162 (info): read without -r will mangle backslashes.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 93:
	done <$1
              ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	done <"$1"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 97:
	local return_page pack=$3
        ^--------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                               ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local return_page pack="$3"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 104:
		local fwurl=$HTML_FILE
                ^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                            ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		local fwurl="$HTML_FILE"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 129:
	local xmlfile=$1
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                      ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local xmlfile="$1"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 136:
	if [ "$(dbus-send --system --print-reply --dest=com.axis.RuleEngine /com/axis/RuleEngine com.axis.RuleEngine.GetApplicationStatus string:$PACKAGE_DIRECTORY/$APPNAME/$xmlfile 2>/dev/null)" ]; then
                                                                                                                                                                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                                                                                             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$(dbus-send --system --print-reply --dest=com.axis.RuleEngine /com/axis/RuleEngine com.axis.RuleEngine.GetApplicationStatus string:$PACKAGE_DIRECTORY/"$APPNAME"/"$xmlfile" 2>/dev/null)" ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 142:
	local arch= apptype= retval=
        ^-------------------------^ 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 153:
	eval arch=$arch
                  ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	eval arch="$arch"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 170:
			[ "$arch" = $apptype ] || retval=1
                                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ "$arch" = "$apptype" ] || retval=1


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 179:
	local file=$1 enb=no var= val= IFS==
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                      ^-^ SC2034 (warning): enb appears unused. Verify use (or export if used externally).
                                 ^-- 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='' ... ).
                                           ^-- SC1097 (error): Unexpected ==. For assignment, use =. For comparison, use [/[[. Or quote for literal string.

Did you mean: 
	local file="$1" enb=no var= val= IFS==


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 181:
	[ -r $file ] || return 0
             ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -r "$file" ] || return 0


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 182:
	while read var val; do
              ^--^ SC2162 (info): read without -r will mangle backslashes.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 185:
				eval enb=$val
                                         ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				eval enb="$val"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 191:
	done < $file
               ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	done < "$file"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 192:
	eval $2=\$enb
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	eval "$2"=\$enb


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 197:
	local name= service= runstate_conf=runstate.conf _is_enabled state
        ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 200:
	[ "$2" ] && name=$2 || error "Name not specified"
                 ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 204:
	state=$(systemctl is-active $service 2>/dev/null) ||:
                                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	state=$(systemctl is-active "$service" 2>/dev/null) ||:


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 209:
				systemctl --quiet stop $service >/dev/null 2>&1 || warning "Failed to stop $service"
                                                       ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				systemctl --quiet stop "$service" >/dev/null 2>&1 || warning "Failed to stop $service"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 210:
				systemctl --quiet disable $service >/dev/null 2>&1 || warning "Failed to disable $service"
                                                          ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				systemctl --quiet disable "$service" >/dev/null 2>&1 || warning "Failed to disable $service"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 215:
			systemctl --quiet enable $service >/dev/null 2>&1 || warning "Failed to enable $service"
                                                 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			systemctl --quiet enable "$service" >/dev/null 2>&1 || warning "Failed to enable $service"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 216:
			if [ $3 = never ]; then
                             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			if [ "$3" = never ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 218:
				systemctl --quiet disable $service >/dev/null 2>&1 || warning "Failed to disable $service"
                                                          ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				systemctl --quiet disable "$service" >/dev/null 2>&1 || warning "Failed to disable $service"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 220:
			systemctl --quiet restart $service >/dev/null 2>&1 || warning "Failed to restart $service"
                                                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			systemctl --quiet restart "$service" >/dev/null 2>&1 || warning "Failed to restart $service"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 226:
	echo ENABLED=$_is_enabled >$PACKAGE_DIRECTORY/$2/conf/$runstate_conf.tmp ||
                                                      ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo ENABLED=$_is_enabled >$PACKAGE_DIRECTORY/"$2"/conf/$runstate_conf.tmp ||


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 228:
	fsynced_write_or_cleanup $PACKAGE_DIRECTORY/$2/conf/$runstate_conf.tmp $PACKAGE_DIRECTORY/$2/conf/$runstate_conf
                                                    ^-- 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 $PACKAGE_DIRECTORY/"$2"/conf/$runstate_conf.tmp $PACKAGE_DIRECTORY/"$2"/conf/$runstate_conf


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 232:
	if [ "$HTTPCGIPATHS" ] || [ "$LICENSENAME" ] || [ -r $HTTPD_CONF_LOCAL_STR.$APPNAME ]; then
                                                                                   ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$HTTPCGIPATHS" ] || [ "$LICENSENAME" ] || [ -r $HTTPD_CONF_LOCAL_STR."$APPNAME" ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 246:
	local tmp_file tmp_file_general pid= action=upload
        ^-- 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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 247:
	local oldpwd=$PWD xmlfile=
        ^-----------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                     ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local oldpwd="$PWD" xmlfile=


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 248:
	local _eap_path= _tmpbakdir= _is_reinstall= _tmppostlog= realms=
        ^-- 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='' ... ).
                                                                ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 249:
	local reload_web=no _started=no limited_postinstall=no dirs=
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 253:
	tmp_file=$(file_upload -S $CONTENT_LENGTH -n 204800 \
                                  ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	tmp_file=$(file_upload -S "$CONTENT_LENGTH" -n 204800 \


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 254:
		--allowed-realms=$realms --allowed-dirs=$dirs 2>&1) || {
                                 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                        ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		--allowed-realms="$realms" --allowed-dirs="$dirs" 2>&1) || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 266:
		[ $CLEANUP -eq 0 ] || rm -f $tmp_file
                                            ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $CLEANUP -eq 0 ] || rm -f "$tmp_file"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 278:
	eval $1=\$tmp_file_general
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	eval "$1"=\$tmp_file_general


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 282:
	local oldpwd=$PWD tmp_ld res dest_dir tmp_package ret=0 embdevversion
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
                     ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local oldpwd="$PWD" tmp_ld res dest_dir tmp_package ret=0 embdevversion


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 283:
	local _exec_as_root=no
        ^-----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 285:
	[ $# -eq 2 ] && [ $1 ] && [ $2 ] || {
                          ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                               ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
                                    ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $# -eq 2 ] && [ "$1" ] && [ "$2" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 301:
	__pkgconf_get_var $tmp_package APPNAME || :
                          ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	__pkgconf_get_var "$tmp_package" APPNAME || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 302:
	__pkgconf_get_var $tmp_package REQEMBDEVVERSION || :
                          ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	__pkgconf_get_var "$tmp_package" REQEMBDEVVERSION || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 303:
	[ $REQEMBDEVVERSION ] || REQEMBDEVVERSION="1.0"
          ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$REQEMBDEVVERSION" ] || REQEMBDEVVERSION="1.0"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 309:
	[ -z $embdevversion ] || {
             ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -z "$embdevversion" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 310:
		compare_vers $REQEMBDEVVERSION le $embdevversion || {
                             ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                  ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		compare_vers "$REQEMBDEVVERSION" le "$embdevversion" || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 321:
	res=$(tar -xzf $tmp_package -C $tmp_ld 2>&1) || {
                       ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                       ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	res=$(tar -xzf "$tmp_package" -C "$tmp_ld" 2>&1) || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 322:
		local res2
                ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 323:
		res2=$(tar -xf $tmp_package -C $tmp_ld 2>&1) || {
                               ^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                               ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		res2=$(tar -xf "$tmp_package" -C "$tmp_ld" 2>&1) || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 325:
			[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                                     ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 331:
			[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                                     ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 336:
		[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 341:
	[ "$APPNAME" ] && [ "$APPNAME" = "$(printf "%s" $APPNAME | sed -e 's/[^[:alnum:]._-]//g')" ] || {
                       ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
                                                        ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$APPNAME" ] && [ "$APPNAME" = "$(printf "%s" "$APPNAME" | sed -e 's/[^[:alnum:]._-]//g')" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 343:
		[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 346:
	[ -z "$(echo $APPID | sed -e 's/[0-9]//g')" ] || {
                     ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -z "$(echo "$APPID" | sed -e 's/[0-9]//g')" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 348:
		[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 351:
	[ -n "$APPMAJORVERSION" ] && [ -z "$(echo $APPMAJORVERSION | sed -e 's/[0-9]//g')" ] || {
                                  ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
                                                  ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -n "$APPMAJORVERSION" ] && [ -z "$(echo "$APPMAJORVERSION" | sed -e 's/[0-9]//g')" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 353:
		[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 356:
	[ -n "$APPMINORVERSION" ] && [ -z "$(echo $APPMINORVERSION | sed -e 's/[0-9]//g')" ] || {
                                  ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
                                                  ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -n "$APPMINORVERSION" ] && [ -z "$(echo "$APPMINORVERSION" | sed -e 's/[0-9]//g')" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 358:
		[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 367:
		if [ -e /tmp/$APPNAME.xml ]; then
                             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ -e /tmp/"$APPNAME".xml ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 368:
			mv /tmp/$APPNAME.xml $tmp_ld/$APPNAME.xml
                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                     ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			mv /tmp/"$APPNAME".xml "$tmp_ld"/"$APPNAME".xml


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 371:
		if [ -x $tmp_ld/$APPNAME ]; then
                        ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ -x "$tmp_ld"/"$APPNAME" ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 372:
			__is_supported_apptype $APPTYPE || {
                                               ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			__is_supported_apptype "$APPTYPE" || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 373:
				[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 376:
			res=$($ELFCHECK $tmp_ld/$APPNAME 2>&1) || {
                                        ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			res=$($ELFCHECK "$tmp_ld"/"$APPNAME" 2>&1) || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 377:
				[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 378:
				read res <<-EOF
                                ^--^ SC2162 (info): read without -r will mangle backslashes.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 386:
			[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                                     ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 394:
			[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                                     ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 399:
			[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                                     ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 406:
	if [ -d $dest_dir ]; then
                ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ -d "$dest_dir" ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 407:
		local preupgrade_res=
                ^------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 411:
		_tmpbakdir=$(mktemp -d /tmp/$APPNAME.XXXXXX 2>&1) || {
                                            ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		_tmpbakdir=$(mktemp -d /tmp/"$APPNAME".XXXXXX 2>&1) || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 416:
		[ -z "$_tmpbakdir" ] || __preserve_app_runstate $dest_dir $_tmpbakdir
                                                                ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                          ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ -z "$_tmpbakdir" ] || __preserve_app_runstate "$dest_dir" "$_tmpbakdir"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 421:
		[ "$PREUPGRADESCRIPT" ] && [ -r $tmp_ld/$PREUPGRADESCRIPT ] && {
                                                ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                        ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ "$PREUPGRADESCRIPT" ] && [ -r "$tmp_ld"/"$PREUPGRADESCRIPT" ] && {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 423:
				preupgrade_res=$(chmod 755 $tmp_ld 2>&1) ||
                                                           ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				preupgrade_res=$(chmod 755 "$tmp_ld" 2>&1) ||


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 426:
			[ $preupgrade_res ] || {
                          ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ "$preupgrade_res" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 427:
				cd $dest_dir
                                ^----------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
                                   ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				cd "$dest_dir" || exit


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 428:
				res=$(eval $(__rootpath) $INSTALLER preupgrade \
                                           ^-----------^ SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 429:
					$tmp_ld/$PREUPGRADESCRIPT 2>&1) || warning "$res"
                                        ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
					"$tmp_ld"/"$PREUPGRADESCRIPT" 2>&1) || warning "$res"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 430:
				cd $oldpwd || :
                                   ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				cd "$oldpwd" || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 434:
		[ ! $_tmpbakdir ] || __preserve_app_conf $dest_dir $_tmpbakdir
                    ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                         ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                   ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ ! "$_tmpbakdir" ] || __preserve_app_conf "$dest_dir" "$_tmpbakdir"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 436:
		cd $dest_dir
                ^----------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
                   ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		cd "$dest_dir" || exit


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 437:
		res=$(eval $(__rootpath) $INSTALLER uninstall) || warning "$res"
                           ^-----------^ SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 438:
		__need_web_reload && reload_web=yes || :
                                  ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 439:
		cd $oldpwd || :
                   ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		cd "$oldpwd" || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 440:
		rm -rf $dest_dir
                       ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		rm -rf "$dest_dir"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 444:
	if ! __fsynced_write_or_cleanup_dir $tmp_ld $dest_dir; then
                                            ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                    ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if ! __fsynced_write_or_cleanup_dir "$tmp_ld" "$dest_dir"; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 446:
		[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld $dest_dir $_tmpbakdir
                                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                     ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                               ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld" "$dest_dir" "$_tmpbakdir"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 450:
	res=$(chmod 775 $dest_dir 2>&1) || {
                        ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	res=$(chmod 775 "$dest_dir" 2>&1) || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 452:
		[ $CLEANUP -eq 0 ] || rm -fr $dest_dir $_tmpbakdir
                                             ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                       ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $CLEANUP -eq 0 ] || rm -fr "$dest_dir" "$_tmpbakdir"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 456:
		if ! __fsynced_write_or_cleanup_dir $_tmpbakdir $dest_dir/$BAKDIR; then
                                                    ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if ! __fsynced_write_or_cleanup_dir "$_tmpbakdir" "$dest_dir"/$BAKDIR; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 461:
	rm -fr $tmp_ld $_tmpbakdir
               ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                       ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	rm -fr "$tmp_ld" "$_tmpbakdir"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 465:
	cd $dest_dir
        ^----------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
           ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	cd "$dest_dir" || exit


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 467:
	eval $(__rootpath) $INSTALLER install $limited_postinstall >$instlog.tmp 2>&1 || ret=$?
             ^-----------^ SC2046 (warning): Quote this to prevent word splitting.
                                              ^------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	eval $(__rootpath) $INSTALLER install "$limited_postinstall" >"$instlog".tmp 2>&1 || ret=$?


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 468:
	fsynced_write_or_cleanup $instlog.tmp $instlog
                                 ^------^ 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 "$instlog".tmp "$instlog"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 469:
	__need_web_reload && reload_web=yes || :
                          ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 470:
	cd $oldpwd
        ^--------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
           ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	cd "$oldpwd" || exit


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 474:
		__logfile2error $instlog
                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__logfile2error "$instlog"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 475:
		[ $CLEANUP -eq 0 ] || rm -fr $dest_dir
                                             ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $CLEANUP -eq 0 ] || rm -fr "$dest_dir"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 483:
	__read_runstate $dest_dir/conf/runstate.conf _started
                        ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	__read_runstate "$dest_dir"/conf/runstate.conf _started


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 484:
	if [ $_started = yes ]; then
             ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$_started" = yes ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 485:
		__set_runstate start  $APPNAME $STARTMODE ||
                                      ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                               ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__set_runstate start  "$APPNAME" "$STARTMODE" ||


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 495:
	local result_code eap_file reload_web
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 497:
	[ $# -eq 1 ] && [ $1 ] || {
                     ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
                          ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $# -eq 1 ] && [ "$1" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 503:
	__install_eap_file $eap_file reload_web
                           ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	__install_eap_file "$eap_file" reload_web


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 508:
	[ "$reload_web" = yes ] && __webserver_reload || :
                                ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 510:
	echo $APPNAME
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$APPNAME"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 515:
	local pack packdir keyfile
        ^------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 526:
	[ -d $packdir ] || {
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

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


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 531:
	local resstr
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 533:
	resstr=$(cp $keyfile $packdir/$LICFILENAME 2>&1) || {
                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	resstr=$(cp "$keyfile" "$packdir"/$LICFILENAME 2>&1) || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 542:
	local old_IFS  keyfile expression licensekey=
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 543:
	local applicationid= minmajorversion= minminorversion= maxmajorversion=
        ^-- 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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 544:
	local maxminorversion= expirationdate= deviceid=
        ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 545:
	local serialnumber= expdateseconds= nowseconds=
        ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 553:
	[ -r $keyfile ] || return 21
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -r "$keyfile" ] || return 21


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 557:
	licensekey=$(tr -d '\n' <$keyfile |
                                 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	licensekey=$(tr -d '\n' <"$keyfile" |


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 565:
		expression=$(echo $licensekey | sed -rn 's/.*<ApplicationID>([[:digit:]]*)<\/ApplicationID>.*<MinimumMajorVersion>([-[:digit:]]*)<\/MinimumMajorVersion>.*<MinimumMinorVersion>([-[:digit:]]*)<\/MinimumMinorVersion>.*<MaximumMajorVersion>([-[:digit:]]*)<\/MaximumMajorVersion>.*<MaximumMinorVersion>([-[:digit:]]*)<\/MaximumMinorVersion>.*<ExpirationDate>([-[:digit:]]*)<\/ExpirationDate>.*<DeviceID>([0-9A-Fa-f]*)<\/DeviceID>.*/applicationid=\1 minmajorversion=\2 minminorversion=\3 maxmajorversion=\4 maxminorversion=\5 expirationdate=\6 deviceid=\7/p')
                                  ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		expression=$(echo "$licensekey" | sed -rn 's/.*<ApplicationID>([[:digit:]]*)<\/ApplicationID>.*<MinimumMajorVersion>([-[:digit:]]*)<\/MinimumMajorVersion>.*<MinimumMinorVersion>([-[:digit:]]*)<\/MinimumMinorVersion>.*<MaximumMajorVersion>([-[:digit:]]*)<\/MaximumMajorVersion>.*<MaximumMinorVersion>([-[:digit:]]*)<\/MaximumMinorVersion>.*<ExpirationDate>([-[:digit:]]*)<\/ExpirationDate>.*<DeviceID>([0-9A-Fa-f]*)<\/DeviceID>.*/applicationid=\1 minmajorversion=\2 minminorversion=\3 maxmajorversion=\4 maxminorversion=\5 expirationdate=\6 deviceid=\7/p')


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 571:
		eval $expression || :
                     ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		eval "$expression" || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 588:
		if [ "$applicationid" != $APPID ]; then
                                         ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ "$applicationid" != "$APPID" ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 616:
			tr [:lower:] [:upper:])
                           ^-------^ SC2060 (warning): Quote parameters to tr to prevent glob expansion.
                                     ^-------^ SC2060 (warning): Quote parameters to tr to prevent glob expansion.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 617:
		deviceid=$(echo $deviceid |tr '[:lower:]' '[:upper:]')
                                ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		deviceid=$(echo "$deviceid" |tr '[:lower:]' '[:upper:]')


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 622:
		if [ $expirationdate != "0" ]; then
                     ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ "$expirationdate" != "0" ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 624:
				date -d $expirationdate -D%F +%s)
                                        ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				date -d "$expirationdate" -D%F +%s)


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 626:
			[ "$expdateseconds" ] && [ "$nowseconds" ] || {
                                              ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 630:
			[ $expdateseconds -ge $nowseconds ] || {
                          ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                              ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ "$expdateseconds" -ge "$nowseconds" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 640:
	local pack keyfile result_code
        ^----------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 650:
	__validate_license_key $keyfile
                               ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	__validate_license_key "$keyfile"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 654:
	__install_license_key $pack $keyfile
                              ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	__install_license_key "$pack" "$keyfile"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 662:
	local resstr
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 669:
	[ -f $1 ] || {
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -f "$1" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 674:
	resstr=$(rm $1 2>&1) || {
                    ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	resstr=$(rm "$1" 2>&1) || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 681:
	local pack tmp_file packdir uploaddir uploadfile
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 682:
	local realms= dirs= ret=0 result_code=0
        ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 687:
		__error 10 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 10 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 694:
	[ -d $packdir ] || {
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

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


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 696:
		__error 24 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 24 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 698:
	if [ -r $packdir/$ADPPACKCFG ]; then
                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ -r "$packdir"/$ADPPACKCFG ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 700:
			__error 24 $pack
                                   ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			__error 24 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 704:
		[ $CLEANUP -eq 0 ] || rm -fr $tmp_ld
                                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $CLEANUP -eq 0 ] || rm -fr "$tmp_ld"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 705:
		__error 24 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 24 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 707:
	tmp_file=$(file_upload -S $CONTENT_LENGTH -n 204800 \
                                  ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	tmp_file=$(file_upload -S "$CONTENT_LENGTH" -n 204800 \


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 708:
		--allowed-realms=$realms --allowed-dirs=$dirs 2>&1) || ret=$?
                                 ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                        ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		--allowed-realms="$realms" --allowed-dirs="$dirs" 2>&1) || ret=$?


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 711:
		__error 22 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 22 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 715:
			__error 22 $pack
                                   ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			__error 22 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 718:
		rm -f $uploadfile
                      ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		rm -f "$uploadfile"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 719:
		[ -d $uploaddir ] || {
                     ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

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


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 721:
			__error 22 $pack
                                   ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			__error 22 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 725:
			error cannot mv $tmp_file $uploadfile
                                        ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                  ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			error cannot mv "$tmp_file" "$uploadfile"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 726:
			__error 22 $pack
                                   ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			__error 22 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 728:
		chmod 644 $uploadfile || {
                          ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		chmod 644 "$uploadfile" || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 730:
			__error 22 $pack
                                   ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			__error 22 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 734:
	__validate_license_key $uploadfile
                               ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	__validate_license_key "$uploadfile"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 737:
		[ $result_code -ne 21 ] || rm -f $uploadfile
                                                 ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ $result_code -ne 21 ] || rm -f "$uploadfile"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 738:
		__error "$result_code" $pack
                                       ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error "$result_code" "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 743:
	local pack=$1 action=remove pid= packdir= option=$3
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                        ^-- 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='' ... ).
                                                  ^----^ SC2034 (warning): option appears unused. Verify use (or export if used externally).
                                                         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local pack="$1" action=remove pid= packdir= option="$3"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 744:
	local listpack= p= xmlfile=
        ^------------------------^ 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 745:
	local _eap_path= reload_web=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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 758:
			pid=$(__lua_application_is_running $xmlfile)
                                                           ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			pid=$(__lua_application_is_running "$xmlfile")


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 760:
			pid=$(pidof $APPNAME) || :
                                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			pid=$(pidof "$APPNAME") || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 763:
			__set_runstate stop $APPNAME $STARTMODE || {
                                            ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                     ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			__set_runstate stop "$APPNAME" "$STARTMODE" || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 764:
				information "Application $APPNAME[$pid] can not be stopped"
                                                         ^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 767:
		cd $packdir
                ^---------^ SC2164 (warning): Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
                   ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		cd "$packdir" || exit


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 768:
		eval $(__rootpath) $INSTALLER uninstall >/dev/null || {
                     ^-----------^ SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 769:
			warning "Application $APPNAME[$pid] can not be uninstalled"
                                             ^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 772:
		__need_web_reload && reload_web=yes || :
                                  ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 777:
	rm -f $APACHE_VHOSTS_ALL/urls_$APPNAME.conf
                                      ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	rm -f $APACHE_VHOSTS_ALL/urls_"$APPNAME".conf


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 778:
	rm -f $APACHE_VHOSTS_ALL/urls_$APPNAME.conf.tmp
                                      ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	rm -f $APACHE_VHOSTS_ALL/urls_"$APPNAME".conf.tmp


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 780:
	[ "$reload_web" = yes ] && __webserver_reload || :
                                ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 784:
	local pack packdir resstring
        ^--------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 794:
	[ -d $PACKAGE_DIRECTORY/$pack ] || {
                                ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -d $PACKAGE_DIRECTORY/"$pack" ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 799:
	resstring=$(rm $packdir/$LICFILENAME 2>&1) || {
                       ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	resstring=$(rm "$packdir"/$LICFILENAME 2>&1) || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 807:
	local pack packdir
        ^----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 817:
	[ -d $packdir ] || {
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

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


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 821:
	[ -r $packdir/$LICFILENAME ] || {
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -r "$packdir"/$LICFILENAME ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 826:
	cat $packdir/$LICFILENAME
            ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	cat "$packdir"/$LICFILENAME


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 831:
	local pack packdir line
        ^---------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 841:
	[ -d $packdir ] || {
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

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


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 845:
	[ -r $packdir/$LICFILENAME ] || {
             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -r "$packdir"/$LICFILENAME ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 849:
	while read line; do
              ^--^ SC2162 (info): read without -r will mangle backslashes.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 851:
	done <$packdir/$LICFILENAME
              ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	done <"$packdir"/$LICFILENAME


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 865:
	local err= action= pack= return_page= pid= xmlfile=
        ^-- 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='' ... ).
                                             ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 866:
	local license_status license_exp_date
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 872:
	send_response=${4:-0}
        ^-----------^ SC2034 (warning): send_response appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 878:
		. "$packdir/$ADPPACKCFG" || :
                  ^--------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 883:
			pid=$(__lua_application_is_running $xmlfile)
                                                           ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			pid=$(__lua_application_is_running "$xmlfile")


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 885:
			pid=$(pidof $APPNAME) || :
                                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			pid=$(pidof "$APPNAME") || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 898:
						read running_status <$packdir/is_running || :
                                                ^--^ SC2162 (info): read without -r will mangle backslashes.
                                                                     ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
						read running_status <"$packdir"/is_running || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 900:
							echo "Stopped" >$packdir/is_running
                                                                        ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
							echo "Stopped" >"$packdir"/is_running


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 904:
						read running_status <$packdir/is_running || :
                                                ^--^ SC2162 (info): read without -r will mangle backslashes.
                                                                     ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
						read running_status <"$packdir"/is_running || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 909:
							echo Running >$packdir/is_running
                                                                      ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
							echo Running >"$packdir"/is_running


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 915:
						read running_status <$packdir/is_running || :
                                                ^--^ SC2162 (info): read without -r will mangle backslashes.
                                                                     ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
						read running_status <"$packdir"/is_running || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 917:
							echo "Stopped" >$packdir/is_running
                                                                        ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
							echo "Stopped" >"$packdir"/is_running


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 925:
					if eval $(__rootpath) start-package-allowed.sh $packdir/$APPNAME $APPTYPE >/dev/null; then
                                                ^-----------^ SC2046 (warning): Quote this to prevent word splitting.
                                                                                       ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                                         ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
					if eval $(__rootpath) start-package-allowed.sh "$packdir"/"$APPNAME" "$APPTYPE" >/dev/null; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 926:
						__set_runstate start $APPNAME $STARTMODE ||
                                                                     ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                              ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
						__set_runstate start "$APPNAME" "$STARTMODE" ||


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 936:
					read running_status <$packdir/is_running || :
                                        ^--^ SC2162 (info): read without -r will mangle backslashes.
                                                             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
					read running_status <"$packdir"/is_running || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 941:
						echo "Stopped" >$packdir/is_running
                                                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
						echo "Stopped" >"$packdir"/is_running


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 944:
					__set_runstate stop $APPNAME $STARTMODE || :
                                                            ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                     ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
					__set_runstate stop "$APPNAME" "$STARTMODE" || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 946:
						pid=$(__lua_application_is_running $xmlfile)
                                                                                   ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
						pid=$(__lua_application_is_running "$xmlfile")


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 948:
						pid=$(pidof $APPNAME) || :
                                                            ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
						pid=$(pidof "$APPNAME") || :


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 951:
						warning "Application $APPNAME[$pid] can not be stopped"
                                                                     ^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 972:
	local action=autoinstalllicensekey
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 973:
	local urn=/techsup/compatible_applications/api.php
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 974:
	local pack= packdir= response= response_code= line=
        ^-- 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='' ... ).
                                                     ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 975:
	local old_IFS=$IFS within_xml= content= new_qs= param= err=
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
                      ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                      ^-- 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='' ... ).
                                                              ^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).

Did you mean: 
	local old_IFS="$IFS" within_xml= content= new_qs= param= err=


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 980:
	[ ! -r "$packdir/$ADPPACKCFG" ] || . "$packdir/$ADPPACKCFG" || :
                                             ^--------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 984:
		__error 29 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 29 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 988:
		__error 29 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 29 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 992:
		__error 29 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 29 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1011:
		__error 27 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 27 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1014:
	response_code=$(echo $response |
                             ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	response_code=$(echo "$response" |


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1020:
		__error 28 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 28 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1025:
		__error 22 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 22 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1029:
		__error 22 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 22 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1034:
		__error 28 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 28 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1041:
		[ -z "$within_xml" ] || echo $line >>$LICFILEPATH
                                             ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

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


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1042:
		echo $line >>$LICFILEPATH.raw
                     ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		echo "$line" >>$LICFILEPATH.raw


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1043:
		echo $line >>$LICFILEPATH.data
                     ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		echo "$line" >>$LICFILEPATH.data


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1045:
			echo $line >$LICFILEPATH
                             ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

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


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1051:
			>$LICFILEPATH.data || :
                        ^----------------^ SC2188 (warning): This redirection doesn't have a command. Move to its command (or use 'true' as no-op).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1056:
	if [ $response_code -ne 200 ]; then
             ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$response_code" -ne 200 ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1060:
			__error 28 $pack
                                   ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			__error 28 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1064:
		if [ "$(echo $err | tr -d [0-9])" ] ||
                             ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                          ^---^ SC2060 (warning): Quote parameters to tr to prevent glob expansion.

Did you mean: 
		if [ "$(echo "$err" | tr -d [0-9])" ] ||


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1065:
			[ $err -le 0 ] || \
                          ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ "$err" -le 0 ] || \


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1066:
			[ $err -gt 10 ]; then
                          ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ "$err" -gt 10 ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1072:
		__error $err $pack
                        ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
                             ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error "$err" "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1077:
		__error 28 $pack
                           ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		__error 28 "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1080:
	__install_license_key $pack $LICFILEPATH
                              ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	__install_license_key "$pack" $LICFILEPATH


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1083:
	[ $result_code -eq 0 ] || __error "$result_code" $pack
                                                         ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ $result_code -eq 0 ] || __error "$result_code" "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1085:
	__send_action_resp $action "" $pack
                                      ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	__send_action_resp $action "" "$pack"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1091:
	local packdir
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1110:
	. "$packdir/$ADPPACKCFG" || {
          ^--------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1126:
	local dbus_resp= app_status= running_file
        ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1132:
			if [ -f $running_file ]; then
                                ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			if [ -f "$running_file" ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1133:
				read app_status 2>/dev/null <$running_file ||
                                ^--^ SC2162 (info): read without -r will mangle backslashes.
                                                             ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				read app_status 2>/dev/null <"$running_file" ||


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1141:
			dbus_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: 
			dbus_resp=$($DBUS_REQ_GET_APP_STATUS string:$PACKAGE_DIRECTORY/"${APPNAME%.*}"/"$APPNAME" 2>/dev/null)


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1155:
		if [ "$(pidof $APPNAME)" ]; then
                              ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ "$(pidof "$APPNAME")" ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1162:
	eval $1=\$app_status
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	eval "$1"=\$app_status


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1166:
	local status= res= pack=
        ^---------------------^ 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1172:
	    . "$packdir/$ADPPACKCFG" || :
              ^--------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1180:
	printf "$status"
               ^-------^ 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1185:
	local licensefile=$1 licstatus=Missing licdate= tag= ret=0
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
                          ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                                       ^-- 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='' ... ).

Did you mean: 
	local licensefile="$1" licstatus=Missing licdate= tag= ret=0


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1192:
		licstatus=$(licensekey_cli -a $APPNAME -i $APPID -m $APPMAJORVERSION -n $APPMINORVERSION) || {
                ^-------^ SC2034 (warning): licstatus appears unused. Verify use (or export if used externally).
                                              ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                          ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                    ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                        ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		licstatus=$(licensekey_cli -a "$APPNAME" -i "$APPID" -m "$APPMAJORVERSION" -n "$APPMINORVERSION") || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1197:
		while read line; do
                      ^--^ SC2162 (info): read without -r will mangle backslashes.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1200:
					licdate=${line#<$tag>}
                                                        ^--^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean: 
					licdate=${line#<"$tag">}


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1201:
					licdate=${licdate%</$tag*}
                                                            ^--^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean: 
					licdate=${licdate%</"$tag"*}


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1209:
	eval $2=\$licstatus
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	eval "$2"=\$licstatus


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1210:
	eval $3=\$licdate
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	eval "$3"=\$licdate


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1215:
	local license_file=$1 lic_status= lic_date=
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
                           ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                         ^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
                                          ^------^ SC2034 (warning): lic_date appears unused. Verify use (or export if used externally).

Did you mean: 
	local license_file="$1" lic_status= lic_date=


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1218:
	case $LICENSEPAGE in
             ^----------^ SC2153 (info): Possible misspelling: LICENSEPAGE may not be assigned. Did you mean LICENSENAME?


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1220:
			__licinfo_from_file $license_file lic_status lic_date || return 1
                                            ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			__licinfo_from_file "$license_file" lic_status lic_date || return 1


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1224:
				lic_status=$($PACKAGE_DIRECTORY/$APPNAME/$APPNAME $LICENSE_CHECK_ARGS)
                                                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                         ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                  ^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				lic_status=$($PACKAGE_DIRECTORY/"$APPNAME"/"$APPNAME" "$LICENSE_CHECK_ARGS")


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1230:
			lic_status=None
                        ^--------^ SC2034 (warning): lic_status appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1234:
			__licinfo_from_file $license_file lic_status lic_date || return 1
                                            ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			__licinfo_from_file "$license_file" lic_status lic_date || return 1


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1238:
    eval $2=\$lic_status
         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
    eval "$2"=\$lic_status


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1239:
    eval $3=\$lic_date
         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
    eval "$3"=\$lic_date


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1243:
	local pack=$1 lic_name= packdir
        ^-----------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                               ^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).

Did you mean: 
	local pack="$1" lic_name= packdir


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1248:
		[ -r $packdir/$LICNAME ] || {
                     ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ -r "$packdir"/$LICNAME ] || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1253:
	elif [ -r $packdir/$LICNAME ]; then
                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	elif [ -r "$packdir"/$LICNAME ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1255:
		lic_name="Available"
                ^------^ SC2034 (warning): lic_name appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1258:
	eval $2=\$lic_name
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	eval "$2"=\$lic_name


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1262:
        local delim= url= start= rest=
        ^---------------------------^ 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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1267:
        start=${url#*href=$delim}
                          ^----^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean: 
        start=${url#*href="$delim"}


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1270:
        rest=${start#*$delim}
                      ^----^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean: 
        rest=${start#*"$delim"}


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1272:
        url=${start%$rest}
                    ^---^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean: 
        url=${start%"$rest"}


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1273:
        url=${url%$delim}
                  ^----^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean: 
        url=${url%"$delim"}


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1275:
        eval $3=\$url
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
        eval "$3"=\$url


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1279:
        local link=
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
              ^--^ SC2034 (warning): link appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1283:
                        eval $2=""
                             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
                        eval "$2"=""


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1287:
        eval $2=\$link
             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
        eval "$2"=\$link


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1291:
	local listpack p single_app= found_single_app= license_name= license_status=
        ^-- 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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1292:
	local license_exp_date= status= ret_error= vendor_home_page= filter_manifest=0
        ^-- 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='' ... ).
                                                                    ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1293:
	local list_resp error_msg=$ADP_LISTCMD_ERROR_MSG_UNKNOWN
        ^-----------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                                  ^----------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local list_resp error_msg="$ADP_LISTCMD_ERROR_MSG_UNKNOWN"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1298:
		rm -f $list_resp
                      ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		rm -f "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1307:
		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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1313:
		if [ $single_app ]; then
                     ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ "$single_app" ]; then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1322:
				rm -f $list_resp
                                      ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				rm -f "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1328:
			if [ -r $p/$ADPPACKCFG ] &&
                                ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			if [ -r "$p"/$ADPPACKCFG ] &&


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1329:
				([ $single_app ] || !([ $filter_manifest -eq 1 ] && [ -r $p/$ADPMANIFEST ])); then
                                ^-- SC2235 (style): Use { ..; } instead of (..) to avoid subshell overhead.
                                   ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                     ^-- SC1035 (error): You are missing a required space after the !.
                                                     ^-- SC2235 (style): Use { ..; } instead of (..) to avoid subshell overhead.
                                                        ^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				([ "$single_app" ] || !([ "$filter_manifest" -eq 1 ] && [ -r "$p"/$ADPMANIFEST ])); then


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1356:
				printf ' <application Name="%s"' "$APPNAME" >> $list_resp
                                                                               ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				printf ' <application Name="%s"' "$APPNAME" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1357:
				[ -z "$PACKAGENAME" ]      || printf ' NiceName="%s"' "$PACKAGENAME" >> $list_resp
                                                                                                        ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ -z "$PACKAGENAME" ]      || printf ' NiceName="%s"' "$PACKAGENAME" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1358:
				[ -z "$VENDOR" ]           || printf ' Vendor="%s"' "$VENDOR" >> $list_resp
                                                                                                 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ -z "$VENDOR" ]           || printf ' Vendor="%s"' "$VENDOR" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1361:
						printf ' Version="%s"' "$APPMAJORVERSION.${APPMINORVERSION}-$APPMICROVERSION" >> $list_resp
                                                                                                                                 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
						printf ' Version="%s"' "$APPMAJORVERSION.${APPMINORVERSION}-$APPMICROVERSION" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1363:
						printf ' Version="%s"' "$APPMAJORVERSION.$APPMINORVERSION" >> $list_resp
                                                                                                              ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
						printf ' Version="%s"' "$APPMAJORVERSION.$APPMINORVERSION" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1366:
				[ -z "$APPID" ]            || printf ' ApplicationID="%s"' "$APPID" >> $list_resp
                                                                                                       ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ -z "$APPID" ]            || printf ' ApplicationID="%s"' "$APPID" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1367:
				[ -z "$license_status" ]   || printf ' License="%s"' "$license_status" >> $list_resp
                                                                                                          ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ -z "$license_status" ]   || printf ' License="%s"' "$license_status" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1368:
				[ -z "$license_exp_date" ] || printf ' LicenseExpirationDate="%s"' "$license_exp_date" >> $list_resp
                                                                                                                          ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ -z "$license_exp_date" ] || printf ' LicenseExpirationDate="%s"' "$license_exp_date" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1369:
				[ -z "$status" ]           || printf ' Status="%s"' "$status" >> $list_resp
                                                                                                 ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ -z "$status" ]           || printf ' Status="%s"' "$status" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1370:
				[ -z "$SETTINGSPAGEFILE" ] || printf ' ConfigurationPage="%s"' "local/$p/$SETTINGSPAGEFILE" >> $list_resp
                                                                                                                               ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ -z "$SETTINGSPAGEFILE" ] || printf ' ConfigurationPage="%s"' "local/$p/$SETTINGSPAGEFILE" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1371:
				[ ! -r "usr/html/local/$p/index.html" ] || printf ' MainPage="%s"' "local/$p/index.html" >> $list_resp
                                                                                                                            ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ ! -r "usr/html/local/$p/index.html" ] || printf ' MainPage="%s"' "local/$p/index.html" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1372:
				[ -z "$vendor_home_page" ] || printf ' VendorHomePage="%s"' "$vendor_home_page" >> $list_resp
                                                                                                                   ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ -z "$vendor_home_page" ] || printf ' VendorHomePage="%s"' "$vendor_home_page" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1373:
				[ -z "$VALIDATIONURI" ]    || printf ' ValidationResult="%s"' "$VALIDATIONURI" >> $list_resp
                                                                                                                  ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ -z "$VALIDATIONURI" ]    || printf ' ValidationResult="%s"' "$VALIDATIONURI" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1374:
				[ -z "$license_name" ]     || printf ' LicenseName="%s"' "$license_name" >> $list_resp
                                                                                                            ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				[ -z "$license_name" ]     || printf ' LicenseName="%s"' "$license_name" >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1375:
				printf ' />\n' >> $list_resp
                                                  ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				printf ' />\n' >> "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1377:
				APPNAME= PACKAGENAME= VENDOR= APPMAJORVERSION= APPMINORVERSION= APPMICROVERSION= APPID= license_status=
                                        ^-- 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='' ... ).
                                                                              ^-- 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='' ... ).
                                                                                                                       ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1378:
				license_exp_date= status= SETTINGSPAGEFILE= VALIDATIONURI= tag= ret_error= APPTYPE= LICENSENAME= license_name=
                                                 ^-- 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='' ... ).
                                                                                          ^-- 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='' ... ).
                                                                                                                   ^-- 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-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1391:
		rm -f $list_resp
                      ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		rm -f "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1394:
		while read line ; do
                      ^--^ SC2162 (info): read without -r will mangle backslashes.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1399:
	rm -f $list_resp
              ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	rm -f "$list_resp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1404:
	local _pkg=$1
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local _pkg="$1"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1413:
	local _pkg=$1 _var=$2 _sedexpr=
        ^----------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                           ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local _pkg="$1" _var="$2" _sedexpr=


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1421:
	eval $_var
             ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	eval "$_var"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1426:
	local _pkg=$1
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local _pkg="$1"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1429:
	eval $(tar -Oxf "$_pkg" package.conf) || {
             ^-- SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1436:
	local _eap=$1 _dest=$2
        ^-----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                            ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local _eap="$1" _dest="$2"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1444:
	tar zxf $_eap -C "$_dest" || {
                ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	tar zxf "$_eap" -C "$_dest" || {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1457:
	local file=$1
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local file="$1"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1458:
	if $(. "$file" 2>/dev/null) ; then
           ^----------------------^ SC2091 (warning): Remove surrounding $() to avoid executing output (or use eval if intentional).
               ^-----^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1466:
	local file=$1
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local file="$1"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1472:
	. "$file"
          ^-----^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1477:
	local _first= _second= _first_u= _second_u=
        ^-- 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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1479:
	[ $# -eq 6 ] && [ "$1" ] && [ "$2" ] && [ "$3" ] && [ "$4" ] && [ "$5" ] && [ "$6" ] ||
                                                                                 ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1496:
	_first=$(($(($1 << 32)) + $(($2 << 16)) + $_first_u))
                                                  ^-------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/lib/adp.sh line 1497:
	_second=$(($(($4 << 32)) + $(($5 << 16)) + $_second_u))
                                                   ^--------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.

For more information:
  https://www.shellcheck.net/wiki/SC1035 -- You are missing a required space ...
  https://www.shellcheck.net/wiki/SC1087 -- Use braces when expanding arrays,...
  https://www.shellcheck.net/wiki/SC1097 -- Unexpected ==. For assignment, us...