In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 3:
. /lib/rcscripts/sh/error.sh
^------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/error.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 24:
DIGEST_AUTH_PASSWD=$CONF_PATH/digest_auth_passwd
^----------------^ SC2034 (warning): DIGEST_AUTH_PASSWD appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 30:
NUM_LIBS=0
^------^ SC2034 (warning): NUM_LIBS appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 34:
. $HTTPD_PARLOAD || error "Failed to source '$HTTPD_PARLOAD"
^------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 38:
[ $AXIS_REALM ] || error "Invalid AXIS_REALM"
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$AXIS_REALM" ] || error "Invalid AXIS_REALM"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 43:
[ $AXIS_WS_REALM ] || error "Invalid AXIS_WS_REALM"
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$AXIS_WS_REALM" ] || error "Invalid AXIS_WS_REALM"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 54:
[ $? -eq 0 ] || error "Failed to load customheaders"
^-- SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 85:
if [ "$GroupPolicyADMIN" = https ]; then
^---------------^ SC2154 (warning): GroupPolicyADMIN is referenced but not assigned.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 100:
if [ $APACHE_ALTERNATEPORT -ne 0 ] &&
^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$APACHE_ALTERNATEPORT" -ne 0 ] &&
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 101:
[ $APACHE_ALTERNATEPORT -ne $APACHE_PORT ]; then
^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$APACHE_ALTERNATEPORT" -ne "$APACHE_PORT" ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/sbin/httpd-generate-config line 107:
[ $APACHE_PORT -eq 80 ] || [ $APACHE_ALTERNATEPORT -eq 80 ] ||
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$APACHE_PORT" -eq 80 ] || [ "$APACHE_ALTERNATEPORT" -eq 80 ] ||
For more information:
https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
https://www.shellcheck.net/wiki/SC2034 -- DIGEST_AUTH_PASSWD appears unused...
https://www.shellcheck.net/wiki/SC2154 -- GroupPolicyADMIN is referenced bu...