In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 5:
	local max=128
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 6:
	local type
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 7:
	while [ -n "$1" -a -n "$2" -a $max -gt 0 ]; do
                        ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
                                   ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 8:
		[ ${1##*/} -eq 32 ] && type=host || type=net
                  ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ "${1##*/}" -eq 32 ] && type=host || type=net


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 10:
		route add -$type "$1" gw "$2" dev "$interface"
                                                   ^--------^ SC2154 (warning): interface is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 11:
		max=$(($max-1))
                       ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 17:
	echo "udhcpc: ifconfig $interface $ip netmask ${subnet:-255.255.255.0} broadcast ${broadcast:-+}"
                                          ^-^ SC2154 (warning): ip is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 18:
	ifconfig $interface $ip netmask ${subnet:-255.255.255.0} broadcast ${broadcast:-+}
                 ^--------^ 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.
                                                                           ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	ifconfig "$interface" "$ip" netmask "${subnet:-255.255.255.0}" broadcast "${broadcast:-+}"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 23:
		local valid_gw=""
                ^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 25:
			route add default gw $i dev $interface
                                             ^-- SC2086 (info): Double quote to prevent globbing and word splitting.
                                                    ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			route add default gw "$i" dev "$interface"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 29:
		eval $(route -n | awk '
                     ^-- SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 30:
			/^0.0.0.0\W{9}('$valid_gw')\W/ {next}
                                        ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			/^0.0.0.0\W{9}('"$valid_gw"')\W/ {next}


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 36:
	[ -n "$staticroutes" ] && set_classless_routes $staticroutes
                                                       ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -n "$staticroutes" ] && set_classless_routes "$staticroutes"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 37:
	[ -n "$msstaticroutes" ] && set_classless_routes $msstaticroutes
                                                         ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -n "$msstaticroutes" ] && set_classless_routes "$msstaticroutes"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 41:
applied=
^-----^ SC2034 (warning): applied appears unused. Verify use (or export if used externally).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/usr/share/udhcpc/default.script line 55:
[ -f /etc/udhcpc.user ] && . /etc/udhcpc.user
                             ^--------------^ SC1091 (info): Not following: /etc/udhcpc.user was not specified as input (see shellcheck -x).

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- applied appears unused. Verify us...
  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
  https://www.shellcheck.net/wiki/SC2154 -- interface is referenced but not a...