In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 4:
START=96
^---^ SC2034 (warning): START appears unused. Verify use (or export if used externally).


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


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


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


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 10:
	local dev
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 11:
	local ports
        ^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 12:
	local mode
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 13:
	local default
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 14:
	local delayon
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 15:
	local delayoff
        ^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 16:
	local interval
        ^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 18:
	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/etc/init.d/led line 19:
	config_get name $1 name "$sysfs"
                        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get name "$1" name "$sysfs"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 20:
	config_get trigger $1 trigger "none"
                           ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get trigger "$1" trigger "none"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 21:
	config_get dev $1 dev
                       ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get dev "$1" dev


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 22:
	config_get ports $1 port
                         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get ports "$1" port


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 23:
	config_get mode $1 mode
                        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get mode "$1" mode


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 24:
	config_get_bool default $1 default "nil"
                                ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get_bool default "$1" default "nil"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 25:
	config_get delayon $1 delayon
                           ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get delayon "$1" delayon


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 26:
	config_get delayoff $1 delayoff
                            ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get delayoff "$1" delayoff


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 27:
	config_get interval $1 interval "50"
                            ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get interval "$1" interval "50"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 28:
	config_get port_state $1 port_state
                              ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get port_state "$1" port_state


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 29:
	config_get delay $1 delay "150"
                         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get delay "$1" delay "150"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 30:
	config_get message $1 message ""
                           ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get message "$1" message ""


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 31:
	config_get gpio $1 gpio "0"
                        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get gpio "$1" gpio "0"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 32:
	config_get inverted $1 inverted "0"
                            ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get inverted "$1" inverted "0"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 48:
	[ -e /sys/class/leds/${sysfs}/brightness ] && {
                             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -e /sys/class/leds/"${sysfs}"/brightness ] && {


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 53:
			"$(sed -ne 's/^.*\[\(.*\)\].*$/\1/p' /sys/class/leds/${sysfs}/trigger)" \
                                                                             ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			"$(sed -ne 's/^.*\[\(.*\)\].*$/\1/p' /sys/class/leds/"${sysfs}"/trigger)" \


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 54:
			"$(cat /sys/class/leds/${sysfs}/brightness)" \
                                               ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			"$(cat /sys/class/leds/"${sysfs}"/brightness)" \


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 58:
			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/etc/init.d/led line 60:
		echo $trigger > /sys/class/leds/${sysfs}/trigger 2> /dev/null
                                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		echo $trigger > /sys/class/leds/"${sysfs}"/trigger 2> /dev/null


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 61:
		ret="$?"
                     ^-- SC2320 (warning): This $? refers to echo/printf, not a previous command. Assign to variable to avoid it being overwritten.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 63:
		[ $default = 1 ] &&
                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ "$default" = 1 ] &&


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 64:
			cat /sys/class/leds/${sysfs}/max_brightness > /sys/class/leds/${sysfs}/brightness
                                            ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                      ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			cat /sys/class/leds/"${sysfs}"/max_brightness > /sys/class/leds/"${sysfs}"/brightness


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 73:
				echo $dev > /sys/class/leds/${sysfs}/device_name
                                     ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                            ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				echo "$dev" > /sys/class/leds/"${sysfs}"/device_name


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 76:
						echo 1 > /sys/class/leds/${sysfs}/$m
                                                                         ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                                  ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

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


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 78:
				echo $interval > /sys/class/leds/${sysfs}/interval
                                     ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				echo "$interval" > /sys/class/leds/"${sysfs}"/interval


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 84:
				echo $delayon > /sys/class/leds/${sysfs}/delay_on
                                     ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				echo "$delayon" > /sys/class/leds/"${sysfs}"/delay_on


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 86:
				echo $delayoff > /sys/class/leds/${sysfs}/delay_off
                                     ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                 ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				echo "$delayoff" > /sys/class/leds/"${sysfs}"/delay_off


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 90:
			local p
                        ^-----^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 93:
				echo 1 > /sys/class/leds/${sysfs}/ports/$p
                                                         ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

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


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 99:
				echo $port_state > /sys/class/leds/${sysfs}/port_state
                                     ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                   ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				echo "$port_state" > /sys/class/leds/"${sysfs}"/port_state


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 103:
			echo $gpio > /sys/class/leds/${sysfs}/gpio
                             ^---^ SC2154 (warning): gpio is referenced but not assigned.
                             ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                     ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			echo "$gpio" > /sys/class/leds/"${sysfs}"/gpio


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 104:
			echo $inverted > /sys/class/leds/${sysfs}/inverted
                             ^-------^ SC2154 (warning): inverted is referenced but not assigned.
                             ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                         ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			echo "$inverted" > /sys/class/leds/"${sysfs}"/inverted


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 108:
			local port_mask speed_mask
                        ^------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 110:
			config_get port_mask $1 port_mask
                                             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			config_get port_mask "$1" port_mask


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 112:
				echo $port_mask > /sys/class/leds/${sysfs}/port_mask
                                     ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				echo "$port_mask" > /sys/class/leds/"${sysfs}"/port_mask


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 113:
			config_get speed_mask $1 speed_mask
                                              ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			config_get speed_mask "$1" speed_mask


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 115:
				echo $speed_mask > /sys/class/leds/${sysfs}/speed_mask
                                     ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                                   ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				echo "$speed_mask" > /sys/class/leds/"${sysfs}"/speed_mask


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 117:
				echo "$mode" > /sys/class/leds/${sysfs}/mode
                                                               ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
				echo "$mode" > /sys/class/leds/"${sysfs}"/mode


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 126:
			local led trigger brightness
                        ^--------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/led line 127:
			while read led trigger brightness; do
                              ^--^ SC2162 (info): read without -r will mangle backslashes.

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- START appears unused. Verify use ...
  https://www.shellcheck.net/wiki/SC2154 -- gpio is referenced but not assign...
  https://www.shellcheck.net/wiki/SC2320 -- This $? refers to echo/printf, no...