In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/alwaysmulti.cgi line 3:
. /lib/rcscripts/sh/rc-std2parse.sh
^-- SC1091 (info): Not following: /lib/rcscripts/sh/rc-std2parse.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/alwaysmulti.cgi line 5:
. /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/alwaysmulti.cgi line 17:
[ $# -ge 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/html/axis-cgi/alwaysmulti.cgi line 22:
$LOG_E $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$LOG_E "$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/alwaysmulti.cgi line 23:
__cgi_errhd ${2:-500} $1
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd "${2:-500}" "$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/alwaysmulti.cgi line 28:
[ $# -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/html/axis-cgi/alwaysmulti.cgi line 33:
$LOG_I $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$LOG_I "$1"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/alwaysmulti.cgi line 41:
local f=get_session_id id
^-----------------------^ 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/alwaysmulti.cgi line 43:
[ $# -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/alwaysmulti.cgi line 66:
eval $1=\$id
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval "$1"=\$id
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/alwaysmulti.cgi line 71:
local f=add_description pipeline_desc media_desc
^-- 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/alwaysmulti.cgi line 101:
CHANNEL=$(__qs_getparam camera) && [ "$CHANNEL" ] ||
^-- 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/alwaysmulti.cgi line 106:
[ $CHANNEL -gt 0 ] && [ $CHANNEL -le $STD2_NETWORK_RTP_NBROFRTPGROUPS ] ||
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$CHANNEL" -gt 0 ] && [ "$CHANNEL" -le "$STD2_NETWORK_RTP_NBROFRTPGROUPS" ] ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/alwaysmulti.cgi line 110:
CHANNEL=$(($CHANNEL - 1))
^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/alwaysmulti.cgi line 122:
add_description video "$video_id" ||
^-------^ SC2154 (warning): video_id is referenced but not assigned.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/alwaysmulti.cgi line 129:
add_description audio "$audio_id" ||
^-------^ SC2154 (warning): audio_id is referenced but not assigned.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/alwaysmulti.cgi line 133:
__cgi_hdgen yes application/sdp && echo "$DESCRIPTION" || {
^-- 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/SC2154 -- audio_id is referenced but not as...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/rcscripts/sh/...