In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/focusd-setup 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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/focusd-setup line 4:
. /lib/rcscripts/sh/files.sh
^------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/files.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/focusd-setup line 6:
readonly F_TMPCONF=$F_CONF.tmp
^-------^ SC2034 (warning): F_TMPCONF appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/focusd-setup line 11:
local pd=/lib/persistent sf=$NAME.state
^-------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/focusd-setup line 12:
local spd=$pd/var/lib/$NAME
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/focusd-setup line 13:
local spdf=$spd/$sf out= g
^------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/focusd-setup line 21:
out="$out[Mechanics.$g]
^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/focusd-setup line 52:
. $F_CONF
^-----^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/focusd-setup line 72:
) 200>/var/lock/focusd/focusd.lock
^-- SC3023 (warning): In POSIX sh, FDs outside 0-9 are undefined.
For more information:
https://www.shellcheck.net/wiki/SC1087 -- Use braces when expanding arrays,...
https://www.shellcheck.net/wiki/SC1007 -- Remove space after = if trying to...
https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...