In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaction.sh line 3:
. /etc/init.d/functions.sh
  ^----------------------^ SC1091 (info): Not following: /etc/init.d/functions.sh was not specified as input (see shellcheck -x).


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaction.sh line 13:
SPEED=$(($DEFAULT_SPEED << 16))
         ^------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaction.sh line 16:
	local action_type=$1 channel=$2 preset=$3 home_timeout=$4
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
                          ^-- 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.
                                                               ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local action_type="$1" channel="$2" preset="$3" home_timeout="$4"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaction.sh line 22:
	/com/axis/PTZ/Coordinator/$channel\
                                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	/com/axis/PTZ/Coordinator/"$channel"\


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaction.sh line 31:
			[ $home_timeout -lt 0 ] || goto_home $channel $home_timeout
                          ^-----------^ 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: 
			[ "$home_timeout" -lt 0 ] || goto_home "$channel" "$home_timeout"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaction.sh line 39:
	local channel=$1 timeout=$2
        ^----------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                      ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                 ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local channel="$1" timeout="$2"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaction.sh line 41:
	[ $timeout -eq 0 ] || sleep $timeout
          ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                    ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$timeout" -eq 0 ] || sleep "$timeout"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaction.sh line 47:
	/com/axis/PTZ/Coordinator/$channel\
                                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	/com/axis/PTZ/Coordinator/"$channel"\


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaction.sh line 56:
		goto_preset $2 $3 "$4" $5
                            ^-- 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: 
		goto_preset "$2" "$3" "$4" "$5"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/ptzaction.sh line 59:
		[ $3 -lt 0 ] ||	goto_home $2 $3
                  ^-- 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: 
		[ "$3" -lt 0 ] ||	goto_home "$2" "$3"

For more information:
  https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /etc/init.d/functi...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...