In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/crashdump line 5:
. /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/crashdump line 6:
. /lib/rcscripts/sh/rc-std2parse.sh
^-- SC1091 (info): Not following: /lib/rcscripts/sh/rc-std2parse.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/crashdump line 19:
until [ -d $mountpath ] && [ $(stat -f -c %T $mountpath 2>/dev/null || echo tmpfs) != tmpfs ]; do
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-- SC2046 (warning): Quote this to prevent word splitting.
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
until [ -d "$mountpath" ] && [ $(stat -f -c %T "$mountpath" 2>/dev/null || echo tmpfs) != tmpfs ]; do
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/crashdump line 23:
information "Will wait $(($storage_timeout - $count)) more second(s) for storage"
^--------------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/crashdump line 24:
count=$(($count + 1))
^----^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/crashdump line 29:
[ -d $dumpspath ] || mkdir -p $dumpspath || error "Unable to make dumps directory"
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -d "$dumpspath" ] || mkdir -p "$dumpspath" || error "Unable to make dumps directory"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/crashdump line 31:
read uuid </proc/sys/kernel/random/uuid
^--^ SC2162 (info): read without -r will mangle backslashes.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/crashdump line 39:
lzop -1c $vmcore >$dumpfile || error "Unable to save dump"
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
lzop -1c $vmcore >"$dumpfile" || error "Unable to save dump"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/crashdump line 42:
[ -r $etb ] || continue
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -r "$etb" ] || continue
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/crashdump line 46:
cp $etb $dumpsd/$etbfile || warning "Unable to save $etb"
^--^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2154 (warning): dumpsd is referenced but not assigned.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
cp "$etb" "$dumpsd"/"$etbfile" || warning "Unable to save $etb"
For more information:
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
https://www.shellcheck.net/wiki/SC2154 -- dumpsd is referenced but not assi...
https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/rcscripts/sh/...