In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/sshdgenkeys.sh line 5:
. /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/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/sshdgenkeys.sh line 7:
[ $# -eq 1 ] && [ "$1" ] || error "$0: missing or empty argument"
             ^-- 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/sshdgenkeys.sh line 10:
rm -f $t*
      ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
rm -f "$t"*


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/sshdgenkeys.sh line 11:
ssh-keygen -q -t rsa -f $t -N '' -b 2048 || error "$0: key generation failed"
                        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
ssh-keygen -q -t rsa -f "$t" -N '' -b 2048 || error "$0: key generation failed"


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/sshdgenkeys.sh line 12:
for f in $t*; do
         ^-- SC2231 (info): Quote expansions in this for loop glob to prevent wordsplitting, e.g. "$dir"/*.txt .


In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/sshdgenkeys.sh line 13:
	fsynced_write_or_cleanup $f $1${f#$t}
                                 ^-- 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.
                                          ^-- SC2295 (info): Expansions inside ${..} need to be quoted separately, otherwise they match as patterns.

Did you mean: 
	fsynced_write_or_cleanup "$f" "$1""${f#"$t"}"

For more information:
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/rcscripts/sh/...
  https://www.shellcheck.net/wiki/SC2015 -- Note that A && B || C is not if-t...
  https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...