In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 7:
	echo $&commat
             ^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 16:
	HttpPort_num=$(tdb get HTTPServer Port_num)
        ^----------^ SC2034 (warning): HttpPort_num appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 17:
	CameraName_ms=$(tdb get Host CameraName_ms)
        ^-----------^ SC2034 (warning): CameraName_ms appears unused. Verify use (or export if used externally).


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 20:
	Last4Mac=$(echo $MacAddress | cut -b 9-12)
                        ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	Last4Mac=$(echo "$MacAddress" | cut -b 9-12)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 24:
	MDVersion=$(cat /mydlink/version | sed 's/VERSION=//g')
                        ^--------------^ SC2002 (style): Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 34:
	if [ $CloudState -gt 0 ]; then
             ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$CloudState" -gt 0 ]; then


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 35:
echo -n "\
     ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 50:
echo -n ""
     ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 55:
	if [ ! -f $hostname ] ||  [ -z $(cat $hostname) ];then
                                       ^--------------^ SC2046 (warning): Quote this to prevent word splitting.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 67:
	echo -n "Startting $daemon... "
             ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 70:
	if [ $enable -eq 0 ]; then
             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	if [ "$enable" -eq 0 ]; then


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 75:
	export LD_LIBRARY_PATH=$prefix/lib
                               ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	export LD_LIBRARY_PATH="$prefix"/lib


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 83:
	echo -n "$daemon"
             ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 89:
	echo -n "Stopping $daemon... "
             ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 90:
	kill -SIGQUIT $(echo $pids | cut -d' ' -f1)
                      ^---------------------------^ SC2046 (warning): Quote this to prevent word splitting.
                             ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	kill -SIGQUIT $(echo "$pids" | cut -d' ' -f1)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 100:
	kill -SIGHUP $(echo $pids | cut -d' ' -f1)
                     ^---------------------------^ SC2046 (warning): Quote this to prevent word splitting.
                            ^---^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	kill -SIGHUP $(echo "$pids" | cut -d' ' -f1)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/mDNSResponder.sh line 107:
[ "$end" = "" ] && [ "$action" != "" ] || showUsage
                ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.

For more information:
  https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ...
  https://www.shellcheck.net/wiki/SC2034 -- CameraName_ms appears unused. Ver...
  https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...