In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/light-controller-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/libexec/light-controller-setup line 9:
. $conf || error "Failed to source '$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/light-controller-setup line 12:
	local aaid
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/light-controller-setup line 20:
	[ $IR_CARD_PATH == "noAAID" ] || {
          ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                        ^-- SC3014 (warning): In POSIX sh, == in place of = is undefined.

Did you mean: 
	[ "$IR_CARD_PATH" == "noAAID" ] || {


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/light-controller-setup line 22:
		[ ${#IR_CARD_PATH} -gt 0 ] && [ -r $IR_CARD_PATH ] ||
                                           ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
                                                   ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ ${#IR_CARD_PATH} -gt 0 ] && [ -r "$IR_CARD_PATH" ] ||


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/light-controller-setup line 25:
		read aaid <$IR_CARD_PATH || :
                ^--^ SC2162 (info): read without -r will mangle backslashes.
                           ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		read aaid <"$IR_CARD_PATH" || :


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/light-controller-setup line 30:
			0|$enabled="FALSE")
                          ^--------------^ SC2254 (warning): Quote expansions in case patterns to match literally rather than as a glob.

For more information:
  https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
  https://www.shellcheck.net/wiki/SC2254 -- Quote expansions in case patterns...
  https://www.shellcheck.net/wiki/SC3014 -- In POSIX sh, == in place of = is ...