In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 9:
local part=$1
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local part="$1"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 10:
local offset=$2
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local offset="$2"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 11:
local count=$3
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local count="$3"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 12:
local mtd
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 14:
mtd=$(find_mtd_part $part)
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mtd=$(find_mtd_part "$part")
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 18:
dd if=$mtd of=/lib/firmware/$FIRMWARE bs=1 skip=$offset count=$count 2>/dev/null || \
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
dd if="$mtd" of=/lib/firmware/"$FIRMWARE" bs=1 skip="$offset" count="$count" 2>/dev/null || \
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 23:
local part=$1
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local part="$1"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 24:
local offset=$2
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local offset="$2"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 25:
local mtd
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 27:
mtd=$(find_mtd_part $part)
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
mtd=$(find_mtd_part "$part")
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 31:
jboot_config_read -i $mtd -o $offset -e /lib/firmware/$FIRMWARE 2>/dev/null || \
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
jboot_config_read -i "$mtd" -o "$offset" -e /lib/firmware/"$FIRMWARE" 2>/dev/null || \
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 36:
local macaddr=$1
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
local macaddr="$1"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 41:
macaddr_2bin $macaddr | dd of=/lib/firmware/$FIRMWARE \
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
macaddr_2bin "$macaddr" | dd of=/lib/firmware/"$FIRMWARE" \
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 49:
. /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/etc/hotplug.d/firmware/10-rt2x00-eeprom line 50:
. /lib/functions/system.sh
^----------------------^ SC1091 (info): Not following: /lib/functions/system.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 63:
wan_mac=$(jboot_config_read -m -i $(find_mtd_part "config") -o 0xE000)
^-----------------------^ SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 66:
rt2x00_eeprom_set_macaddr $wifi_mac
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rt2x00_eeprom_set_macaddr "$wifi_mac"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/hotplug.d/firmware/10-rt2x00-eeprom line 71:
rt2x00_eeprom_set_macaddr $wifi_mac
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
rt2x00_eeprom_set_macaddr "$wifi_mac"
For more information:
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/functions.sh ...