In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 3:
. /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/ledlimit.cgi line 4:
. /lib/rcscripts/sh/integer.sh
^--------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/integer.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/ledlimit.cgi line 10:
RET_VAL=
^-----^ SC2034 (warning): RET_VAL 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/ledlimit.cgi line 15:
[ "$1" ] && value=$($DBUS com.axis.LightController.Common.GetIndividualLEDIntensity $1 manual 2>&1) || {
^-- 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.
Did you mean:
[ "$1" ] && value=$($DBUS com.axis.LightController.Common.GetIndividualLEDIntensity "$1" manual 2>&1) || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 17:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 22:
__cgi_errhd 500 $value
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$value"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 27:
__cgi_errhd 200 $value
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 200 "$value"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 31:
[ "$1" ] && [ "$2" ] && value=$($DBUS com.axis.LightController.Common.SetIndividualLEDIntensity $1 $2 manual 2>&1) || {
^-- 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:
[ "$1" ] && [ "$2" ] && value=$($DBUS com.axis.LightController.Common.SetIndividualLEDIntensity "$1" "$2" manual 2>&1) || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 33:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 38:
__cgi_errhd 500 $value
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 500 "$value"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 51:
[ "$ID" ] && [ "$INTENSITY" ] || {
^-- 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/ledlimit.cgi line 52:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 55:
dbus_set $ID $INTENSITY
^-^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dbus_set "$ID" "$INTENSITY"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 59:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 62:
dbus_get $ID
^-^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dbus_get "$ID"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/html/axis-cgi/ledlimit.cgi line 65:
__cgi_errhd 400 $RET_400
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
__cgi_errhd 400 "$RET_400"
For more information:
https://www.shellcheck.net/wiki/SC2034 -- RET_VAL appears unused. Verify us...
https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/rcscripts/sh/...
https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...