In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init 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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 4:
. /lib/rcscripts/sh/files.sh
^------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/files.sh was not specified as input (see shellcheck -x).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 10:
UUIDFILE_OWNER=wsdd
^------------^ SC2034 (warning): UUIDFILE_OWNER appears unused. Verify use (or export if used externally).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 21:
local orguuid
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 24:
read orguuid <"$1" || return 1
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 25:
[ "${orguuid#*$UUID_PREFIX}" != "$orguuid" ] || return 1
^----------^ SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.
Did you mean:
[ "${orguuid#*"$UUID_PREFIX"}" != "$orguuid" ] || return 1
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 33:
local _uuidgen serno prefix
^-------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 36:
serno=$(echo $serno | tr A-F a-f)
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
serno=$(echo "$serno" | tr A-F a-f)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 47:
local tmp_prefix
^--------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 53:
elif [ $prefix = $STATIC_BACKUP_PREFIX ]; then
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
elif [ "$prefix" = $STATIC_BACKUP_PREFIX ]; then
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 56:
eval $1=\$prefix-\$serno
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval "$1"=\$prefix-\$serno
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 63:
local uuid
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 66:
echo Generated a new device UUID: $uuid
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo Generated a new device UUID: "$uuid"
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 67:
echo $UUID_PREFIX$uuid > $UUID_BACKUP_FILE.tmp ||
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo $UUID_PREFIX"$uuid" > $UUID_BACKUP_FILE.tmp ||
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 101:
read main <$UUID_MAIN_FILE || {
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-80367616.squashfs_v4_le_extract/usr/libexec/deviceuuid-init line 106:
read backup <$UUID_BACKUP_FILE || {
^--^ SC2162 (info): read without -r will mangle backslashes.
For more information:
https://www.shellcheck.net/wiki/SC2034 -- UUIDFILE_OWNER appears unused. Ve...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/rcscripts/sh/...