In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/led.sh line 4:
. /lib/functions.sh
  ^---------------^ SC1091 (info): Not following: /lib/functions.sh was not specified as input (see shellcheck -x).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/led.sh line 8:
	local name
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/led.sh line 9:
	local sysfs
        ^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/led.sh line 10:
	config_get name $1 name
                        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get name "$1" name


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/led.sh line 11:
	config_get sysfs $1 sysfs
                         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get sysfs "$1" sysfs


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/led.sh line 12:
	[ "$name" = "$NAME" -o "$sysfs" = "$NAME" -a -e "/sys/class/leds/${sysfs}" ] && {
                            ^-- SC2166 (warning): Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
                                                  ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/led.sh line 14:
			echo 1 >/sys/class/leds/${sysfs}/brightness \
                                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			echo 1 >/sys/class/leds/"${sysfs}"/brightness \


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/led.sh line 15:
			|| echo 0 >/sys/class/leds/${sysfs}/brightness
                                                   ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			|| echo 0 >/sys/class/leds/"${sysfs}"/brightness


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/led.sh line 20:
[ "$1" = "clear" -o "$1" = "set" ] &&
                 ^-- SC2166 (warning): Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.

For more information:
  https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] && [ q ] as [ p -a q...
  https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/functions.sh ...