In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 5:
local label
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 6:
local ledpath
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 7:
local basepath="/proc/device-tree"
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 8:
local nodepath="$basepath/aliases/led-$1"
^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 23:
led_set_attr $1 "trigger" "timer"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_set_attr "$1" "trigger" "timer"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 24:
led_set_attr $1 "delay_on" "$2"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_set_attr "$1" "delay_on" "$2"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 25:
led_set_attr $1 "delay_off" "$3"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_set_attr "$1" "delay_off" "$3"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 29:
led_set_attr $1 "trigger" "none"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_set_attr "$1" "trigger" "none"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 30:
led_set_attr $1 "brightness" 255
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_set_attr "$1" "brightness" 255
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 34:
led_set_attr $1 "trigger" "none"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_set_attr "$1" "trigger" "none"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 35:
led_set_attr $1 "brightness" 0
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_set_attr "$1" "brightness" 0
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 39:
led_timer $status_led "$1" "$2"
^---------^ SC2154 (warning): status_led is referenced but not assigned (did you mean 'status_led2'?).
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_timer "$status_led" "$1" "$2"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 40:
[ -n "$status_led2" ] && led_timer $status_led2 "$1" "$2"
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -n "$status_led2" ] && led_timer "$status_led2" "$1" "$2"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 44:
led_set_attr $status_led "trigger" "heartbeat"
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_set_attr "$status_led" "trigger" "heartbeat"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 48:
led_on $status_led
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_on "$status_led"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 49:
[ -n "$status_led2" ] && led_on $status_led2
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -n "$status_led2" ] && led_on "$status_led2"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 53:
led_off $status_led
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_off "$status_led"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 54:
[ -n "$status_led2" ] && led_off $status_led2
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -n "$status_led2" ] && led_off "$status_led2"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 58:
led_timer $status_led 1000 1000
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_timer "$status_led" 1000 1000
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 62:
led_timer $status_led 100 100
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_timer "$status_led" 100 100
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 66:
led_timer $status_led 100 100
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_timer "$status_led" 100 100
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 70:
led_timer $status_led 50 50
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_timer "$status_led" 50 50
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/functions/leds.sh line 74:
led_timer $status_led 200 200
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
led_timer "$status_led" 200 200
For more information:
https://www.shellcheck.net/wiki/SC2154 -- status_led is referenced but not ...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...