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


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/ftptest.cgi line 11:
raw_ip=
^----^ SC2034 (warning): raw_ip 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/ftptest.cgi line 12:
status=
^----^ SC2034 (warning): 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/ftptest.cgi line 38:
	[ $# -eq 3 ] && [ "$1" ] && [ "$2" ] && [ "$3" ] || {
                                             ^-- 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/ftptest.cgi line 42:
	local f_name=report_status
        ^----------^ 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/ftptest.cgi line 58:
	local port=
        ^--------^ 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/ftptest.cgi line 89:
tmp=$(__qs_getparam address) && [ "$tmp" ] || {
                             ^-- 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/ftptest.cgi line 95:
validateaddr $tmp
             ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
validateaddr "$tmp"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/ftptest.cgi line 121:
tmp=$(__qs_getparam proto) && [ "$tmp" ] || {
                           ^-- 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/ftptest.cgi line 217:
					-T "$testf" -g "ftp://$host" $ftp_port 2>&1) || \
                                                                     ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
					-T "$testf" -g "ftp://$host" "$ftp_port" 2>&1) || \


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/ftptest.cgi line 222:
					-T "$testf" -g "ftp://$host" $ftp_port 2>&1) || \
                                                                     ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
					-T "$testf" -g "ftp://$host" "$ftp_port" 2>&1) || \


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/ftptest.cgi line 243:
					$hostpuboption -u "$user_login" \
                                        ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
					"$hostpuboption" -u "$user_login" \


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/html/axis-cgi/ftptest.cgi line 249:
					$hostpuboption \
                                        ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
					"$hostpuboption" \

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- raw_ip appears unused. Verify use...
  https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /usr/html/axis-cgi...