In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ftptest.cgi line 115:
		if expr $tmp : '\(0\{0,4\}:\{1,2\}\)\{1,7\}0\{0,3\}1' \
                        ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if expr "$tmp" : '\(0\{0,4\}:\{1,2\}\)\{1,7\}0\{0,3\}1' \


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ftptest.cgi line 132:
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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ftptest.cgi line 228:
					-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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ftptest.cgi line 233:
					-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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ftptest.cgi line 240:
		tmp=$(__qs_getparam publickeyfp) && [ "$tmp" ] || {
                                                 ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.

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...