In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 46:
local value=$($2 2>&1)
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^---^ SC2155 (warning): Declare and assign separately to avoid masking return values.
^--------^ SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 50:
printf "$1: TRUE\n"
^----------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 53:
printf "$1: FALSE\n"
^-----------^ SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 59:
printf "Unable to retreive $1 information\n"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 66:
local value=$($2 2>&1)
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^---^ SC2155 (warning): Declare and assign separately to avoid masking return values.
^--------^ SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 70:
printf "Unable to retreive $1 information\n"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 75:
local value_temp=${value#(}
^--------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local value_temp="${value#(}"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 77:
printf "$1: %d\n" $value
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
printf "$1: %d\n" "$value"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 82:
local value=$($2 2>&1)
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^---^ SC2155 (warning): Declare and assign separately to avoid masking return values.
^--------^ SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 86:
printf "Unable to retreive $1 information\n"
^-- SC2059 (info): Don't use variables in the printf format string. Use printf '..%s..' "$foo".
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 91:
local value_temp=${value#(<}
^--------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local value_temp="${value#(<}"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/bin/light_status.sh line 93:
printf "$1: %d\n" $value
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
printf "$1: %d\n" "$value"
For more information:
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.