In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/ptz-setup 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/libexec/ptz-setup line 4:
. /lib/rcscripts/sh/string.sh || error "Failed to source string.sh"
^-------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/string.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/ptz-setup line 5:
. /lib/rcscripts/sh/integer.sh || error "Failed to source integer.sh"
^--------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/integer.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/ptz-setup line 9:
LOG="logger -t$TAG[$$]"
^-- 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/libexec/ptz-setup line 24:
local persistent_dir=/lib/persistent
^------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/ptz-setup line 25:
local persistent_file_dir=$persistent_dir/var/lib/ptz
^-----------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/ptz-setup line 26:
local persistent_file=ptz_counter
^-------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
For more information:
https://www.shellcheck.net/wiki/SC1087 -- Use braces when expanding arrays,...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC1091 -- Not following: /etc/init.d/functi...