In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 6:
. /usr/html/axis-cgi/lib/adp.sh
  ^---------------------------^ SC1091 (info): Not following: /usr/html/axis-cgi/lib/adp.sh was not specified as input (see shellcheck -x).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 11:
	local conffile=package.conf licfile=lic.xml
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 12:
	local cgiconf appstatus licstatus expire dir
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
                                          ^----^ SC2034 (warning): expire appears unused. Verify use (or export if used externally).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 14:
	if [ -z $1 ]; then
                ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ -z "$1" ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 20:
	if [ -r $dir/$conffile ]; then
                ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ -r "$dir"/$conffile ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 21:
		. $dir/$conffile
                  ^------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
                  ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		. "$dir"/$conffile


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 22:
		printf "\nName: $PACKAGENAME\n"
                       ^----------------------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 24:
			printf "State: %s\n" $appstatus
                                             ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			printf "State: %s\n" "$appstatus"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 30:
				printf "Copy protection state: %s\n" $licstatus
                                                                     ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				printf "Copy protection state: %s\n" "$licstatus"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 36:
		printf "\n%s/%s:\n" $dir $conffile
                                    ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		printf "\n%s/%s:\n" "$dir" $conffile


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 40:
		if [ -r $dir/$cgiconf ]; 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 [ -r "$dir"/"$cgiconf" ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 41:
			printf "\n%s/%s:\n" $dir $cgiconf
                                            ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			printf "\n%s/%s:\n" "$dir" "$cgiconf"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 45:
		if [ "$HTTPCGIPATHS" ] && [ -r $dir/$HTTPCGIPATHS ]; 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 [ "$HTTPCGIPATHS" ] && [ -r "$dir"/"$HTTPCGIPATHS" ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 46:
			printf "\n%s/%s:\n" $dir $HTTPCGIPATHS
                                            ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                 ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			printf "\n%s/%s:\n" "$dir" "$HTTPCGIPATHS"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 49:
		if [ -r $dir/$licfile ]; then
                        ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		if [ -r "$dir"/$licfile ]; then


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 50:
			printf "\n%s/%s:\n" $dir $licfile
                                            ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			printf "\n%s/%s:\n" "$dir" $licfile


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 54:
		printf "error: Failed to read $conffile in %s\n" $dir
                                                                 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		printf "error: Failed to read $conffile in %s\n" "$dir"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 61:
	local appdir
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 64:
		for appdir in $PACKDIR/*; do
                              ^------^ SC2231 (info): Quote expansions in this for loop glob to prevent wordsplitting, e.g. "$dir"/*.txt .


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 65:
			[ -d $appdir ]|| continue
                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			[ -d "$appdir" ]|| continue;


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/application_report.sh line 66:
			output_info $appdir
                                    ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			output_info "$appdir"

For more information:
  https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
  https://www.shellcheck.net/wiki/SC2034 -- expire appears unused. Verify use...
  https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.