In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 3:
. /lib/rcscripts/sh/error.sh
  ^------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/error.sh was not specified as input (see shellcheck -x).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 14:
usage() {
^-- SC2120 (warning): usage references arguments, but none are ever passed.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 47:
	check_port $2
                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	check_port "$2"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 48:
	check_state $3
                    ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	check_state "$3"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 51:
			check_duration $4
                                       ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			check_duration "$4"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 62:
	local cmd=$CMD
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                  ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local cmd="$CMD"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 88:
	[ $4 -gt 0 ] && {
          ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$4" -gt 0 ] && {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 105:
	local cmd=$CMD_IO2D
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                  ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local cmd="$CMD_IO2D"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 106:
	local args
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 107:
	local command=$1
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                      ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local command="$1"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 121:
	[ $wait_time -eq 0 ] && {
          ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$wait_time" -eq 0 ] && {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 135:
	[ $wait_time -lt 0 ] && {
          ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$wait_time" -lt 0 ] && {


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 153:
	local cmd=$CMD
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                  ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local cmd="$CMD"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 176:
	local cmd=$CMD_IO2D
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                  ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	local cmd="$CMD_IO2D"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 177:
	local args
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 196:
		validate $*
                         ^-- SC2048 (warning): Use "$@" (with quotes) to prevent whitespace problems.
                         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		validate "$*"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 201:
			start_io2d $*
                                   ^-- SC2048 (warning): Use "$@" (with quotes) to prevent whitespace problems.
                                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			start_io2d "$*"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 203:
			start $*
                              ^-- SC2048 (warning): Use "$@" (with quotes) to prevent whitespace problems.
                              ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			start "$*"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 209:
			stop_io2d $*
                                  ^-- SC2048 (warning): Use "$@" (with quotes) to prevent whitespace problems.
                                  ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			stop_io2d "$*"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 211:
			stop $*
                             ^-- SC2048 (warning): Use "$@" (with quotes) to prevent whitespace problems.
                             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			stop "$*"


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/bin/iowrapper.sh line 215:
		usage
                ^---^ SC2119 (info): Use usage "$@" if function's $1 should mean script's $1.

For more information:
  https://www.shellcheck.net/wiki/SC2048 -- Use "$@" (with quotes) to prevent...
  https://www.shellcheck.net/wiki/SC2120 -- usage references arguments, but n...
  https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.