In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/temperature-ctrl-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/temperature-ctrl-setup line 11:
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/temperature-ctrl-setup line 12:
local persistent_file_dir=$persistent_dir/var/lib/temp_ctrld
^-----------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/temperature-ctrl-setup line 13:
local persistent_file=temp_log
^-------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/temperature-ctrl-setup line 28:
>> $persistent_file_dir/$persistent_file || {
^-- SC2188 (warning): This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/temperature-ctrl-setup line 47:
[ ! -r $PRODUCT_SPECIFIC_SCRIPT ] || . $PRODUCT_SPECIFIC_SCRIPT ||
^----------------------^ 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/libexec/temperature-ctrl-setup line 50:
[ ! -r $PRODUCTION_CONF ] || . $PRODUCTION_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/libexec/temperature-ctrl-setup line 53:
exec /usr/bin/temperature_ctrld -n $PRODUCTION_OPTIONS $TEMPERATURE_CTRLD_OPTIONS
^-----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
exec /usr/bin/temperature_ctrld -n "$PRODUCTION_OPTIONS" "$TEMPERATURE_CTRLD_OPTIONS"
For more information:
https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
https://www.shellcheck.net/wiki/SC2188 -- This redirection doesn't have a c...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.