In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/openssh line 3:
. /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-50593792.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/openssh line 12:
! grep -iq "^[[:blank:]]*$kw_pr[[:blank:]]" $sshd_config || kw_pr=
                         ^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/openssh line 13:
! grep -iq "^[[:blank:]]*$kw_ag[[:blank:]]" $sshd_config || kw_ag=
                         ^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).


In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/lib/conf-migrate/upgrade-run.d/openssh line 14:
grep -iq "^[[:blank:]]*$kw_hk[[:blank:]]" $sshd_config || kw_hk=
                       ^-- SC1087 (error): Use braces when expanding arrays, e.g. ${array[idx]} (or ${var}[.. to quiet).

For more information:
  https://www.shellcheck.net/wiki/SC1087 -- Use braces when expanding arrays,...
  https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/rcscripts/sh/...