In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/hotplug-call line 6:
. /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/hotplug-call line 14:
[ \! -z "$1" -a -d /etc/hotplug.d/$1 ] && {
^-- SC2057 (warning): Unknown binary operator.
^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ \! -z "$1" -a -d /etc/hotplug.d/"$1" ] && {
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/hotplug-call line 15:
for script in $(ls /etc/hotplug.d/$1/* 2>&-); do (
^----------------------------^ SC2045 (error): Iterating over ls output is fragile. Use globs.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
for script in $(ls /etc/hotplug.d/"$1"/* 2>&-); do (
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/sbin/hotplug-call line 16:
[ -f $script ] && . $script
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -f "$script" ] && . "$script"
For more information:
https://www.shellcheck.net/wiki/SC2045 -- Iterating over ls output is fragi...
https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
https://www.shellcheck.net/wiki/SC2057 -- Unknown binary operator.