In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 4:
logger -s -t${0##*/} -p err -- $*
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2048 (warning): Use "$@" (with quotes) to prevent whitespace problems.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
logger -s -t"${0##*/}" -p err -- "$*"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 9:
logger -s -t${0##*/} -p err -- "Usage: $0 ir_filter_off [channel]"
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
logger -s -t"${0##*/}" -p err -- "Usage: $0 ir_filter_off [channel]"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 10:
logger -s -t${0##*/} -p err -- "Usage: $0 ir_filter_on [channel]"
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
logger -s -t"${0##*/}" -p err -- "Usage: $0 ir_filter_on [channel]"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 24:
[ $nbr_of_leds -ne 1 ] || CHANNEL=0
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$nbr_of_leds" -ne 1 ] || CHANNEL=0
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 44:
GDBUS_LIGHT_GETLIGHTSTATUS="$GDBUS_LIGHT \
^------------------------^ SC2034 (warning): GDBUS_LIGHT_GETLIGHTSTATUS appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 56:
local day use_day_night sync
^--------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 98:
local s m i=0 IFS isabove isabovecounter nbrofsources=-1 ircut ircutcounter=-1
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 100:
if eval $GDBUS_IMG_GET IrCutFilter >/dev/null 2>& then
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if eval "$GDBUS_IMG_GET" IrCutFilter >/dev/null 2>& then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 107:
s=$(eval $GDBUS_GET_NBR_OF_SOURCES 2>&1) ||
^-----------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
s=$(eval "$GDBUS_GET_NBR_OF_SOURCES" 2>&1) ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 114:
nbrofsources=$(($nbrofsources + 1))
^-----------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 119:
eval $GDBUS_LIGHT_SETLIGHTSTATUS false >/dev/null ||
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval "$GDBUS_LIGHT_SETLIGHTSTATUS" false >/dev/null ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 125:
isabove=$(eval $GDBUS_IMG_GET_BY_CHANNEL/$i/$STREAM IsAboveIlluminanceLevel 2>&1) ||
^-----------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
isabove=$(eval "$GDBUS_IMG_GET_BY_CHANNEL"/$i/$STREAM IsAboveIlluminanceLevel 2>&1) ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 129:
[ $isabove -eq 1 ] || isabovecounter=$(($isabovecounter + 1))
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
Did you mean:
[ "$isabove" -eq 1 ] || isabovecounter=$(($isabovecounter + 1))
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 130:
ircut=$(eval $GDBUS_IMG_GET_BY_CHANNEL/$i/$STREAM IrCutFilter 2>&1) ||
^-----------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ircut=$(eval "$GDBUS_IMG_GET_BY_CHANNEL"/$i/$STREAM IrCutFilter 2>&1) ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 136:
ircutcounter=$(($ircutcounter + 1))
^-----------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 139:
i=$(($i + 1))
^-- SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 142:
eval $GDBUS_LIGHT_SETLIGHTSTATUS false >/dev/null ||
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval "$GDBUS_LIGHT_SETLIGHTSTATUS" false >/dev/null ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/sync_irlight_ircut.sh line 148:
eval $GDBUS_LIGHT_SETLIGHTSTATUS false >/dev/null ||
^-------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval "$GDBUS_LIGHT_SETLIGHTSTATUS" false >/dev/null ||
For more information:
https://www.shellcheck.net/wiki/SC2034 -- GDBUS_LIGHT_GETLIGHTSTATUS appear...
https://www.shellcheck.net/wiki/SC2048 -- Use "$@" (with quotes) to prevent...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.