In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/image2d_shutter.sh line 20:
gdbus call -y -d $VIDEO_DESTINATION -o $VIDEO_OBJECT_PATH -m $METHOD.Get $VIDEO_INTERFACE $VIDEO_TYPE 2>/dev/null && exit 0 || :
^-- 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/libexec/image2d_shutter.sh line 31:
[ $# -eq 2 ] && [ "$1" ] && [ "$2" ] || {
^-- 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/libexec/image2d_shutter.sh line 38:
if [ $param = SensorMaxFramerate ]; then
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$param" = SensorMaxFramerate ]; then
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/image2d_shutter.sh line 39:
local INTERFACE=com.axis.ImageControlStream
^-------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/image2d_shutter.sh line 41:
value=$(gdbus call -y -d $DESTINATION -o $OBJECT_PATH/$channel/$STREAM_ID -m $METHOD.Get $INTERFACE $param 2>&1) || {
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
value=$(gdbus call -y -d $DESTINATION -o $OBJECT_PATH/"$channel"/$STREAM_ID -m $METHOD.Get $INTERFACE "$param" 2>&1) || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/image2d_shutter.sh line 55:
echo $value
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$value"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/image2d_shutter.sh line 59:
[ $# -eq 2 ] && [ "$1" ] && [ "$2" ] || {
^-- 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/libexec/image2d_shutter.sh line 65:
ret=$(gdbus call -y -d $DESTINATION -o $OBJECT_PATH/$channel/$STREAM_ID -m $METHOD.Set $INTERFACE MaxExposureTime "<$value>")
^-^ SC2034 (warning): ret appears unused. Verify use (or export if used externally).
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ret=$(gdbus call -y -d $DESTINATION -o $OBJECT_PATH/"$channel"/$STREAM_ID -m $METHOD.Set $INTERFACE MaxExposureTime "<$value>")
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/image2d_shutter.sh line 69:
while [ $channel -lt $NBR_SOURCES ]; do
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
while [ $channel -lt "$NBR_SOURCES" ]; do
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/image2d_shutter.sh line 79:
[ $max_exposure_time -le $max_slow_shutter ] &&
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$max_exposure_time" -le "$max_slow_shutter" ] &&
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/image2d_shutter.sh line 82:
[ $selected_exposure -eq $frame_time ] &&
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$selected_exposure" -eq $frame_time ] &&
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/image2d_shutter.sh line 85:
set_max_exposure_time $max_exposure_time $channel 2>&1 || {
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
set_max_exposure_time "$max_exposure_time" $channel 2>&1 || {
For more information:
https://www.shellcheck.net/wiki/SC2034 -- ret appears unused. Verify use (o...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...