In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/profile line 7:
fgrep -sq '/ overlay ro,' /proc/mounts && {
^---^ SC2197 (info): fgrep is non-standard and deprecated. Use grep -F instead.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/profile line 13:
export HOME=$(grep -e "^${USER:-root}:" /etc/passwd | cut -d ":" -f 6)
       ^--^ SC2155 (warning): Declare and assign separately to avoid masking return values.
            ^-- SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/profile line 14:
export HOME=${HOME:-/root}
            ^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
export HOME="${HOME:-/root}"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/profile line 19:
		export PS1='\[\e]0;\u@\h: \w\a\]'$PS1
                                                 ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		export PS1='\[\e]0;\u@\h: \w\a\]'"$PS1"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/profile line 24:
[ -x /usr/bin/vim ] && alias vi=vim || alias vim=vi
                    ^-- 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/1568982-13971496.squashfs_v4_le_extract/etc/profile line 28:
[ -z "$KSH_VERSION" -o \! -s /etc/mkshrc ] || . /etc/mkshrc
                    ^-- SC2166 (warning): Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
                          ^-- SC2050 (warning): This expression is constant. Did you forget the $ on a variable?
                          ^-- SC2057 (warning): Unknown binary operator.
                                                ^---------^ SC1091 (info): Not following: /etc/mkshrc was not specified as input (see shellcheck -x).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/profile line 30:
[ -x /usr/bin/arp -o -x /sbin/arp ] || arp() { cat /proc/net/arp; }
                  ^-- SC2166 (warning): Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/profile line 31:
[ -x /usr/bin/ldd ] || ldd() { LD_TRACE_LOADED_OBJECTS=1 $*; }
                                                         ^-- SC2048 (warning): Use "$@" (with quotes) to prevent whitespace problems.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/profile line 35:
		[ -e "$FILE" ] && . "$FILE"
                                    ^-----^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/profile line 58:
	/etc/init.d/$&commat
                    ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements.
                    ^-- SC2145 (error): Argument mixes string and array. Use * or separate argument.

For more information:
  https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ...
  https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ...
  https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...