In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 6:
USE_PROCD=1
^-------^ SC2034 (warning): USE_PROCD appears unused. Verify use (or export if used externally).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 26:
	local value="$1"
        ^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 28:
	echo "${value#--}" >> $CONFIGFILE_TMP
                              ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "${value#--}" >> "$CONFIGFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 32:
	local var="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 33:
	local hex="${2#0x}" # strip optional "0x" prefix
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 35:
	if [ -n "${hex//[0-9a-fA-F]/}" ]; then
                 ^------------------^ SC3060 (warning): In POSIX sh, string replacement is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 51:
	local ip="$1"
        ^------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 52:
	local res=0
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 56:
		res="$(($res * 256))"
                        ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 57:
		res="$(($res + $part))"
                        ^--^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
                               ^---^ SC2004 (style): $/${} is unnecessary on arithmetic variables.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 64:
	local ifname="$1"
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 65:
	local stamp="${BASEDHCPSTAMPFILE_CFG}.${ifname}.dhcp"
        ^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 66:
	local rv=0
        ^------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 68:
	[ -s "$stamp" ] && return $(cat "$stamp")
                                  ^-------------^ SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 93:
	local file
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 103:
	local section="$1"
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 104:
	local option="$2"
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 105:
	local value="$3"
        ^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 106:
	local default="$4"
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 107:
	local _loctmp
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 110:
	[ $_loctmp -gt 0 ] && xappend "$value"
          ^------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$_loctmp" -gt 0 ] && xappend "$value"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 114:
	local section="$1"
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 115:
	local option="$2"
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 116:
	local switch="$3"
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 117:
	local default="$4"
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 118:
	local _loctmp
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 171:
	local cfg="$1" func="$2" match_cfg="$3" found_cfg
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 175:
	if [ -z "$found_cfg" -o "$found_cfg" = "$match_cfg" ]; then
                             ^-- 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/init.d/dnsmasq line 176:
		$func $cfg
                      ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		$func "$cfg"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 181:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 197:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 214:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 230:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 247:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 263:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 279:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 280:
	local hosttag nametime addrs duids macs tags
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 288:
	[ "$enable" = "0" ] && return 0
           ^-----^ SC2154 (warning): enable is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 294:
	[ -n "$ip" -o -n "$name" -o -n "$hostid" ] || return 0
                   ^-- SC2166 (warning): Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
                                 ^-- 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/init.d/dnsmasq line 297:
	[ "$dns" = "1" -a -n "$ip" -a -n "$name" ] && {
                       ^-- 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/etc/init.d/dnsmasq line 298:
		echo "$ip $name${DOMAIN:+.$DOMAIN}" >> $HOSTFILE_TMP
                                                       ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		echo "$ip $name${DOMAIN:+.$DOMAIN}" >> "$HOSTFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 311:
	if [ $DNSMASQ_DHCP_VER -eq 6 -a -n "$duid" ]; then
                                     ^-- 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/etc/init.d/dnsmasq line 314:
		duids="id:${duid// */}"
                          ^----------^ SC3060 (warning): In POSIX sh, string replacement is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 317:
	if [ -z "$macs" -a -z "$duids" ]; then
                        ^-- 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/etc/init.d/dnsmasq line 349:
	local net="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 350:
	local ifname="$2"
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 351:
	local mode="$3"
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 352:
	local routerstub routername ifdashname
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 353:
	local lanaddr lanaddr6 lanaddrs6 ulaprefix
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 356:
		ifdashname="${ifname//./-}"
                            ^------------^ SC3060 (warning): In POSIX sh, string replacement is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 358:
		routerstub="router-${routerstub// */}"
                                   ^----------------^ SC3060 (warning): In POSIX sh, string replacement is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 359:
		routername="$( uci_get system @system[0] hostname $routerstub )"
                                                                  ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		routername="$( uci_get system @system[0] hostname "$routerstub" )"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 384:
			if [ -n "$ulaprefix" -a -n "$lanaddrs6" ] ; then
                                             ^-- 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/etc/init.d/dnsmasq line 399:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 415:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 430:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 440:
	[ -n "$serveraddress" -a ! -n "$servername" ] && return 0
                              ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
                                 ^-- SC2236 (style): Use -z instead of ! -n.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 451:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 452:
	local dhcp6range="::"
        ^--------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 453:
	local nettag
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 454:
	local tags
        ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 464:
	[ "$cachelocal" = "0" ] && network_get_dnsserver dnsserver "$net" && {
           ^---------^ SC2154 (warning): cachelocal is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 465:
		DNS_SERVERS="$DNS_SERVERS $dnsserver"
                                          ^--------^ SC2154 (warning): dnsserver is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 478:
	[ static = "$proto" ] || return 0
                    ^----^ SC2154 (warning): proto is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 481:
	config_get netmask "$cfg" netmask "${subnet##*/}"
                                           ^-----------^ SC2154 (warning): subnet is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 485:
	[ $force -gt 0 ] || dhcp_check "$ifname" || return 0
          ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$force" -gt 0 ] || dhcp_check "$ifname" || return 0


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 509:
		tags="${tags}tag:$1,"
                ^-------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 519:
	eval "$(ipcalc.sh "${subnet%%/*}" $netmask $start $limit)"
                                          ^------^ SC2154 (warning): netmask is referenced but not assigned.
                                          ^------^ 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: 
	eval "$(ipcalc.sh "${subnet%%/*}" "$netmask" "$start" "$limit")"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 521:
	if [ "$dynamicdhcp" = "0" ] ; then
              ^----------^ SC2154 (warning): dynamicdhcp is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 529:
	if [ "$dhcpv4" != "disabled" ] ; then
              ^-----^ SC2154 (warning): dhcpv4 is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 534:
	if [ $DNSMASQ_DHCP_VER -eq 6 -a "$ra" = "server" ] ; then
                                     ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
                                         ^-^ SC2154 (warning): ra is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 538:
		case $ra_preference in
                     ^------------^ SC2154 (warning): ra_preference is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 552:
		if [ "$dhcpv6" = "disabled" ] ; then
                      ^-----^ SC2154 (warning): dhcpv6 is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 591:
	local option="$1"
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 592:
	local networkid="$2"
        ^-------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 593:
	local force="$3"
        ^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 600:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 601:
	local networkid="$2"
        ^-------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 602:
	local force="$3"
        ^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 603:
	local opt="dhcp_option"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 608:
	local list_len
        ^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 618:
		local option
                ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 626:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 627:
	local ip name names record
        ^------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 639:
	echo "$ip $record" >> $HOSTFILE_TMP
                              ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "$ip $record" >> "$HOSTFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 643:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 657:
	local service="$srv,$target,$port${class:+,$class${weight:+,$weight}}"
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 663:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 664:
	local domain relay pref
        ^---------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 674:
	local service="$domain,$relay,$pref"
        ^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 680:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 681:
	local cname target
        ^----------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 693:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 694:
	local names addresses record val
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 714:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 715:
	local local_addr server_addr interface
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 734:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 735:
	local disabled user_dhcpscript
        ^----------------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 736:
	local resolvfile localuse=0
        ^-----------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 752:
	mkdir -p $(dirname $CONFIGFILE)
                 ^--------------------^ SC2046 (warning): Quote this to prevent word splitting.
                           ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	mkdir -p $(dirname "$CONFIGFILE")


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 753:
	mkdir -p $(dirname $HOSTFILE)
                 ^------------------^ SC2046 (warning): Quote this to prevent word splitting.
                           ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	mkdir -p $(dirname "$HOSTFILE")


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 757:
	echo "# auto-generated config file from /etc/config/dhcp" > $CONFIGFILE_TMP
                                                                    ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "# auto-generated config file from /etc/config/dhcp" > "$CONFIGFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 758:
	echo "# auto-generated config file from /etc/config/dhcp" > $HOSTFILE_TMP
                                                                    ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo "# auto-generated config file from /etc/config/dhcp" > "$HOSTFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 760:
	local dnsmasqconffile="/etc/dnsmasq.${cfg}.conf"
        ^-------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 773:
	if [ -x /usr/sbin/odhcpd -a -x /etc/init.d/odhcpd ] ; then
                                 ^-- 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/etc/init.d/dnsmasq line 774:
		local odhcpd_is_main odhcpd_is_enabled
                ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 779:
		if [ "$odhcpd_is_enabled" -eq 0 -a "$DHCPv6CAPABLE" -eq 1 ] ; then
                                                ^-- 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/etc/init.d/dnsmasq line 802:
		if [ -x /etc/init.d/dhcpd6 -a "$DNSMASQ_DHCP_VER" -gt 0 ] ; then
                                           ^-- 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/etc/init.d/dnsmasq line 880:
	config_get user_dhcpscript $cfg dhcpscript
                                   ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get user_dhcpscript "$cfg" dhcpscript


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 885:
	config_get leasefile $cfg leasefile "/tmp/dhcp.leases"
                             ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	config_get leasefile "$cfg" leasefile "/tmp/dhcp.leases"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 886:
	[ -n "$leasefile" -a \! -e "$leasefile" ] && touch "$leasefile"
                          ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
                                ^-- SC2057 (warning): Unknown binary operator.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 892:
		[ -n "$resolvfile" -a ! -e "$resolvfile" ] && touch "$resolvfile"
                                   ^-- 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/etc/init.d/dnsmasq line 899:
	[ -e "$hostsfile" ] && xappend "--dhcp-hostsfile=$hostsfile"
              ^--------^ SC2154 (warning): hostsfile is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 901:
	local rebind
        ^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 903:
	[ $rebind -gt 0 ] && {
          ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ "$rebind" -gt 0 ] && {


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 909:
		local rebind_localhost
                ^--------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 911:
		[ $rebind_localhost -gt 0 ] && {
                  ^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		[ "$rebind_localhost" -gt 0 ] && {


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 917:
			log_once "Allowing RFC1918 responses for domain $1"
                        ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 918:
			xappend "--rebind-domain-ok=$1"
                        ^-----------------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 925:
	[ "$dnssec" -gt 0 ] && {
           ^-----^ SC2154 (warning): dnssec is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 930:
			[ "$?" -ne 0 -o "$(uci_get system.ntp.enabled)" = "1" ] && {
                                     ^-- 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/init.d/dnsmasq line 948:
	xappend "--addn-hosts=$(dirname $HOSTFILE)"
                                        ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	xappend "--addn-hosts=$(dirname "$HOSTFILE")"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 953:
	[ ! -d "$dnsmasqconfdir" ] && mkdir -p $dnsmasqconfdir
                                               ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ ! -d "$dnsmasqconfdir" ] && mkdir -p "$dnsmasqconfdir"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 956:
	echo >> $CONFIGFILE_TMP
                ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo >> "$CONFIGFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 959:
	[ "$enable_tftp" -gt 0 ] && {
           ^----------^ SC2154 (warning): enable_tftp is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 961:
		append EXTRA_MOUNT $tftp_root
                                   ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
		append EXTRA_MOUNT "$tftp_root"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 965:
	echo >> $CONFIGFILE_TMP
                ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo >> "$CONFIGFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 968:
	[ "$dhcpbogushostname" -gt 0 ] && {
           ^----------------^ SC2154 (warning): dhcpbogushostname is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 986:
	echo >> $CONFIGFILE_TMP
                ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo >> "$CONFIGFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 989:
	echo >> $CONFIGFILE_TMP
                ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo >> "$CONFIGFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 992:
	[ "$boguspriv" -gt 0 ] && {
           ^--------^ SC2154 (warning): boguspriv is referenced but not assigned.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1011:
	echo >> $CONFIGFILE_TMP
                ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo >> "$CONFIGFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1013:
	echo >> $CONFIGFILE_TMP
                ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo >> "$CONFIGFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1015:
	echo >> $CONFIGFILE_TMP
                ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	echo >> "$CONFIGFILE_TMP"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1016:
	mv -f $CONFIGFILE_TMP $CONFIGFILE
              ^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                              ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	mv -f "$CONFIGFILE_TMP" "$CONFIGFILE"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1017:
	mv -f $HOSTFILE_TMP $HOSTFILE
              ^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
                            ^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	mv -f "$HOSTFILE_TMP" "$HOSTFILE"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1030:
	procd_open_instance $cfg
                            ^--^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	procd_open_instance "$cfg"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1031:
	procd_set_param command $PROG -C $CONFIGFILE -k -x /var/run/dnsmasq/dnsmasq."${cfg}".pid
                                         ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	procd_set_param command $PROG -C "$CONFIGFILE" -k -x /var/run/dnsmasq/dnsmasq."${cfg}".pid


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1032:
	procd_set_param file $CONFIGFILE
                             ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	procd_set_param file "$CONFIGFILE"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1037:
	procd_add_jail_mount $CONFIGFILE $TRUSTANCHORSFILE $HOSTFILE $RFC6761FILE $DHCPBOGUSHOSTNAMEFILE /etc/passwd /etc/group /etc/TZ /dev/null /dev/urandom $dnsmasqconffile $dnsmasqconfdir $resolvfile $user_dhcpscript /etc/hosts /etc/ethers /sbin/hotplug-call $EXTRA_MOUNT $DHCPSCRIPT
                             ^---------^ 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.
                                                                                                                                                                                                ^---------^ 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: 
	procd_add_jail_mount "$CONFIGFILE" $TRUSTANCHORSFILE "$HOSTFILE" $RFC6761FILE $DHCPBOGUSHOSTNAMEFILE /etc/passwd /etc/group /etc/TZ /dev/null /dev/urandom "$dnsmasqconffile" "$dnsmasqconfdir" "$resolvfile" "$user_dhcpscript" /etc/hosts /etc/ethers /sbin/hotplug-call "$EXTRA_MOUNT" $DHCPSCRIPT


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1038:
	procd_add_jail_mount_rw /var/run/dnsmasq/ $leasefile
                                                  ^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	procd_add_jail_mount_rw /var/run/dnsmasq/ "$leasefile"


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1045:
	local cfg="$1"
        ^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1046:
	local noresolv resolvfile localuse=0
        ^-- SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1051:
	[ "$noresolv" = 0 -a "$resolvfile" = "/tmp/resolv.conf.auto" ] && localuse=1
                          ^-- 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/etc/init.d/dnsmasq line 1055:
	rm -f ${BASEDHCPSTAMPFILE}.${cfg}.*.dhcp
                                   ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	rm -f ${BASEDHCPSTAMPFILE}."${cfg}".*.dhcp


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1060:
	local interface ignore
        ^--------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1065:
	[ -n "$interface" -a $ignore -eq 0 ] && procd_add_interface_trigger "interface.*" "$interface" /etc/init.d/dnsmasq reload
                          ^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
                             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -n "$interface" -a "$ignore" -eq 0 ] && procd_add_interface_trigger "interface.*" "$interface" /etc/init.d/dnsmasq reload


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1084:
	local instance="$1"
        ^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1085:
	local instance_found=0
        ^------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1087:
	. /lib/functions/network.sh
          ^-----------------------^ SC1091 (info): Not following: /lib/functions/network.sh was not specified as input (see shellcheck -x).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1090:
		local type="$1"
                ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                ^-------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1091:
		local name="$2"
                ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                ^-------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1092:
		if [ "$type" = "dnsmasq" ]; then
                ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
                   ^---------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1093:
			if [ -n "$instance" -a "$instance" = "$name" ]; then
                        ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
                           ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
                                            ^-- 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/etc/init.d/dnsmasq line 1094:
				instance_found=1
                                ^--------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1115:
	local instance="$1"
        ^------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1116:
	local instance_found=0
        ^------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1119:
		local type="$1"
                ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                ^-------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1120:
		local name="$2"
                ^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
                ^-------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1121:
		if [ "$type" = "dnsmasq" ]; then
                ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
                   ^---------------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).


In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/etc/init.d/dnsmasq line 1122:
			if [ -n "$instance" -a "$instance" = "$name" ]; then
                        ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
                           ^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
                                            ^-- 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/etc/init.d/dnsmasq line 1123:
				instance_found=1
                                ^--------------^ SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).

For more information:
  https://www.shellcheck.net/wiki/SC2034 -- USE_PROCD appears unused. Verify ...
  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
  https://www.shellcheck.net/wiki/SC2057 -- Unknown binary operator.