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/snmp-confd line 9:
. /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/snmp-confd line 25:
if [ -f $1$old_snmpd_conf_file ] && [ -r $1$old_snmpd_conf_file ]; then
        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                         ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
if [ -f "$1"$old_snmpd_conf_file ] && [ -r "$1"$old_snmpd_conf_file ]; then


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/snmp-confd line 27:
	sed -e 's/"//g;s/ yes$/ true/g;s/ no$/ false/g' $1$old_snmpd_conf_file > $snmp_confd_conf_file
                                                        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	sed -e 's/"//g;s/ yes$/ true/g;s/ no$/ false/g' "$1"$old_snmpd_conf_file > $snmp_confd_conf_file


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/snmp-confd line 30:
	echo -e "[SNMP.Trap.T0]\nPort = 162\n" >> $snmp_confd_conf_file
             ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.


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/snmp-confd line 31:
	echo -e "[SNMP]\nTransportProtocol = udp\nInitialUserPasswd =" >> $snmp_confd_conf_file
             ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.


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/snmp-confd line 34:
	if [ -f $1$old_snmpd_enabled_file ] && [ -r $1$old_snmpd_enabled_file ]; then
                ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                                    ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ -f "$1"$old_snmpd_enabled_file ] && [ -r "$1"$old_snmpd_enabled_file ]; then


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/snmp-confd line 35:
		. $1$old_snmpd_enabled_file ||
                  ^-----------------------^ SC1090 (warning): ShellCheck can't follow non-constant source. Use a directive to specify location.
                  ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		. "$1"$old_snmpd_enabled_file ||


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/snmp-confd line 38:
		if [ "$SNMP_ENABLED" == 'yes' ]; then
                                     ^-- SC3014 (warning): In POSIX sh, == in place of = is undefined.


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/snmp-confd line 45:
elif [ -f $1$snmp_confd_conf_file ] && [ -r $1$snmp_confd_conf_file ]; then
          ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                            ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
elif [ -f "$1"$snmp_confd_conf_file ] && [ -r "$1"$snmp_confd_conf_file ]; then


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/snmp-confd line 46:
	cp -fp $1$snmp_confd_conf_file $snmp_confd_conf_file || {
               ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	cp -fp "$1"$snmp_confd_conf_file $snmp_confd_conf_file || {


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/snmp-confd line 53:
if [ -f $1$old_snmpd_lcd_file ] && [ -r $1$old_snmpd_lcd_file ]; then
        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                        ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
if [ -f "$1"$old_snmpd_lcd_file ] && [ -r "$1"$old_snmpd_lcd_file ]; then


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/snmp-confd line 64:
	/usr/libexec/snmpd_migrate $1$old_snmpd_lcd_file $net_snmp_conf_file ||
                                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	/usr/libexec/snmpd_migrate "$1"$old_snmpd_lcd_file $net_snmp_conf_file ||


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/snmp-confd line 70:
	echo -e "engineBoots $engine_boots\n" >> $net_snmp_conf_file
             ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.


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/snmp-confd line 73:
	if [ -f $1$old_mib2_sys_file ] && [ -r $1$old_mib2_sys_file ]; then
                ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                               ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ -f "$1"$old_mib2_sys_file ] && [ -r "$1"$old_mib2_sys_file ]; then


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/snmp-confd line 75:
		contact=$(head -c 256 $1$old_mib2_sys_file)
                                      ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		contact=$(head -c 256 "$1"$old_mib2_sys_file)


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/snmp-confd line 76:
		name=$(head -c 512 $1$old_mib2_sys_file | tail -c 256)
                                   ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		name=$(head -c 512 "$1"$old_mib2_sys_file | tail -c 256)


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/snmp-confd line 77:
		location=$(head -c 768 $1$old_mib2_sys_file | tail -c 256)
                                       ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		location=$(head -c 768 "$1"$old_mib2_sys_file | tail -c 256)


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/snmp-confd line 78:
		echo -e "sysContact $contact\nsysName $name\nsysLocation $location\n" >> $net_snmp_conf_file
                     ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.


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/snmp-confd line 86:
elif [ -f $1$net_snmp_conf_file ] && [ -r $1$net_snmp_conf_file ]; then
          ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                          ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
elif [ -f "$1"$net_snmp_conf_file ] && [ -r "$1"$net_snmp_conf_file ]; then


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/snmp-confd line 87:
	cp -fp $1$net_snmp_conf_file $net_snmp_conf_file || {
               ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	cp -fp "$1"$net_snmp_conf_file $net_snmp_conf_file || {


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/snmp-confd line 90:
	cp -fp $1$net_snmp_trapd_conf_file $net_snmp_trapd_conf_file || {
               ^-- SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	cp -fp "$1"$net_snmp_trapd_conf_file $net_snmp_trapd_conf_file || {

For more information:
  https://www.shellcheck.net/wiki/SC1090 -- ShellCheck can't follow non-const...
  https://www.shellcheck.net/wiki/SC3014 -- In POSIX sh, == in place of = is ...
  https://www.shellcheck.net/wiki/SC3037 -- In POSIX sh, echo flags are undef...