In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 3:
. /lib/rcscripts/sh/error.sh
^------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/error.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 4:
. /lib/rcscripts/sh/string.sh
^-------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/string.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 14:
local f=invert_optical_offset_values IFS=';'
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 16:
[ $# -eq 2 ] && [ "$1" ] ||
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 19:
validate_varname $1 ||
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
validate_varname "$1" ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 22:
[ $HWID = 1ED.1 ] || [ $HWID = 1ED.2 ] ||
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$HWID" = 1ED.1 ] || [ "$HWID" = 1ED.2 ] ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 23:
[ $HWID = 1EE.1 ] || [ $HWID = 1EE.2 ] ||
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$HWID" = 1EE.1 ] || [ "$HWID" = 1EE.2 ] ||
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 24:
[ $HWID = 1C0.2 ] || [ $HWID = 1C0.3 ] || {
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$HWID" = 1C0.2 ] || [ "$HWID" = 1C0.3 ] || {
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 25:
eval $1=\$2
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval "$1"=\$2
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 31:
eval $1=\$2
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval "$1"=\$2
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 35:
local i inverted_value= num grp grp1
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
^-- SC1007 (warning): Remove space after = if trying to assign a value (for empty string, use var='' ... ).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 42:
[ $i -eq 1 ] || num=$((0 - $num))
^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 44:
i=$(($i + 1))
^-- SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 48:
eval $1=\$inverted_value
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval "$1"=\$inverted_value
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/create-misalignment-data line 59:
>$MO_DF_TMP || error "Could not create file $MO_DF_TMP"
^---------^ SC2188 (warning): This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
For more information:
https://www.shellcheck.net/wiki/SC1007 -- Remove space after = if trying to...
https://www.shellcheck.net/wiki/SC2188 -- This redirection doesn't have a c...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.