In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 5:
. /usr/lib/addon-common
^-------------------^ SC1091 (info): Not following: /usr/lib/addon-common was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 12:
local fcgi_name fcgi_group ftag="append_addon_fcgi_configuration():"
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 15:
syslog_warn $APACHE_LOG_TAG "$ftag Wrong number of arguments"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Wrong number of arguments"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 19:
[ "$1" ] && fcgi_name=$1 && shift || {
^-- 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/lib/addon-apache-config line 20:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 1 (fcgi_name) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 1 (fcgi_name) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 24:
[ "$1" ] && fcgi_group=$1 && shift || {
^-- 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/lib/addon-apache-config line 25:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 2 (fcgi_group) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 2 (fcgi_group) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 30:
echo "$&commat
^-- SC2145 (error): Argument mixes string and array. Use * or separate argument.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 39:
local fcgi_name fcgi_sock ftag="append_addon_fcgi_handler_configuration():"
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 42:
syslog_warn $APACHE_LOG_TAG "$ftag Wrong number of arguments"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Wrong number of arguments"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 46:
[ "$1" ] && fcgi_name=$1 && shift || {
^-- 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/lib/addon-apache-config line 47:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 1 (fcgi_name) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 1 (fcgi_name) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 51:
[ "$1" ] && fcgi_sock=$1 && shift || {
^-- 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/lib/addon-apache-config line 52:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 2 (fcgi_sock) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 2 (fcgi_sock) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 57:
echo "$&commat
^-- SC2145 (error): Argument mixes string and array. Use * or separate argument.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 65:
local addon_name fcgis_list access_conf_file tmp_file
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 66:
local apache_addon_root=/usr/html/local
^---------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 67:
local ftag="create_addon_fcgis_configuration():"
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 70:
syslog_warn $APACHE_LOG_TAG "$ftag Wrong number of arguments"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Wrong number of arguments"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 74:
[ "$1" ] && addon_name=$1 && shift || {
^-- 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/lib/addon-apache-config line 75:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 1 (addon_name) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 1 (addon_name) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 79:
[ "$@" ] && fcgis_list="$@" || {
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 80:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 2 (fcgis_list) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 2 (fcgis_list) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 89:
rm -f $tmp_file
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$tmp_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 91:
[ -f $access_conf_file ] && cat $access_conf_file >$tmp_file
^---------------^ 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:
[ -f "$access_conf_file" ] && cat "$access_conf_file" >"$tmp_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 95:
</Directory>" >>$tmp_file || return 1
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
</Directory>" >>"$tmp_file" || return 1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 97:
fsynced_write_or_cleanup $tmp_file $access_conf_file
^-------^ 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 "$tmp_file" "$access_conf_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 102:
local addon_name fcgis_handlers_list handler_conf_file tmp_file
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 103:
local apache_addon_root=/usr/html/local
^---------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 104:
local ftag="create_addon_fcgis_handlers_configuration():"
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 107:
syslog_warn $APACHE_LOG_TAG "$ftag Wrong number of arguments"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Wrong number of arguments"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 111:
[ "$1" ] && addon_name=$1 && shift || {
^-- 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/lib/addon-apache-config line 112:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 1 (addon_name) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 1 (addon_name) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 116:
[ "$@" ] && fcgis_handlers_list="$@" || {
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 117:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 2 (fcgis_handlers_list) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 2 (fcgis_handlers_list) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 126:
rm -f $tmp_file
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$tmp_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 130:
</Directory>" >$tmp_file || return 1
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
</Directory>" >"$tmp_file" || return 1
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 132:
fsynced_write_or_cleanup $tmp_file $handler_conf_file
^-------^ 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 "$tmp_file" "$handler_conf_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 137:
local addon_name url_name url_group urls_list ftag="append_addon_url_configuration():"
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 140:
syslog_warn $APACHE_LOG_TAG "$ftag Wrong number of arguments"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Wrong number of arguments"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 144:
[ "$1" ] && url_name=$1 && shift || {
^-- 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/lib/addon-apache-config line 145:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 1 (url_name) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 1 (url_name) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 149:
[ "$1" ] && url_group=$1 && shift || {
^-- 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/lib/addon-apache-config line 150:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 2 (url_group) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 2 (url_group) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 154:
urls_list="$@"
^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 163:
local addon_name urls_list urls_conf_file tmp_file
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 164:
local apache_addon_root=/usr/html/local
^---------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 165:
local ftag="create_addon_url_configuration():"
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 168:
syslog_warn $APACHE_LOG_TAG "$ftag Wrong number of arguments"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Wrong number of arguments"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 172:
[ "$1" ] && addon_name=$1 && shift || {
^-- 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/lib/addon-apache-config line 173:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 1 (addon_name) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 1 (addon_name) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 177:
[ "$@" ] && urls_list="$@" || {
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
^--^ SC2124 (warning): Assigning an array to a string! Assign as array, or use * instead of @ to concatenate.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 178:
syslog_warn $APACHE_LOG_TAG "$ftag Argument 2 (urls_list) is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Argument 2 (urls_list) is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 185:
rm -f $tmp_file
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$tmp_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 187:
[ -f $urls_conf_file ] && cat $urls_conf_file >$tmp_file
^-------------^ 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:
[ -f "$urls_conf_file" ] && cat "$urls_conf_file" >"$tmp_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 190:
</Directory>" >>$tmp_file || {
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
</Directory>" >>"$tmp_file" || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 191:
syslog_warn $APACHE_LOG_TAG "$ftag Failed to write to file"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Failed to write to file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 195:
fsynced_write_or_cleanup $tmp_file $urls_conf_file
^-------^ 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 "$tmp_file" "$urls_conf_file"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 200:
local addon_name urls_conf_file fcgis_handlers_conf_file ftag="remove_addon_configuration():"
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 202:
[ $# -eq 1 ] && [ "$1" ] || {
^-- 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/lib/addon-apache-config line 203:
syslog_warn $APACHE_LOG_TAG "$ftag Wrong number of arguments or argument is empty"
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
syslog_warn "$APACHE_LOG_TAG" "$ftag Wrong number of arguments or argument is empty"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/lib/addon-apache-config line 211:
rm -f $urls_conf_file $fcgis_handlers_conf_file
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rm -f "$urls_conf_file" "$fcgis_handlers_conf_file"
For more information:
https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ...
https://www.shellcheck.net/wiki/SC2124 -- Assigning an array to a string! A...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.