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

Did you mean: 
if [ "$oob" -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/ntpd.sh line 12:
	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/ntpd.sh line 21:
	eval $(echo "Enable_byte DHCPNTPEnable_byte Server_ms Retry_byte" | tdb get NTPClient)
             ^-- 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/ntpd.sh line 22:
	enable=$Enable_byte
               ^----------^ SC2154 (warning): Enable_byte is referenced but not assigned.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/ntpd.sh line 24:
	echo "servers $Server_ms" >> $shadow
                      ^--------^ SC2154 (warning): Server_ms is referenced but not assigned.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/ntpd.sh line 33:
	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/ntpd.sh line 34:
	[ -x $binary ] || die "$binary is not a valid application"
             ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -x "$binary" ] || die "$binary is not a valid application"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/ntpd.sh line 35:
	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/ntpd.sh line 40:
	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/ntpd.sh line 44:
		if [ "$DHCPNTPEnable_byte" -eq "0" ] && [ -f "$ntp_from_dhcp" ]; then
                      ^-----------------^ SC2154 (warning): DHCPNTPEnable_byte is referenced but not assigned.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/ntpd.sh line 45:
			$binary -s -r $Retry_byte -f $ntp_from_dhcp &
                                      ^---------^ SC2154 (warning): Retry_byte is referenced but not assigned.
                                      ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			$binary -s -r "$Retry_byte" -f $ntp_from_dhcp &


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/ntpd.sh line 47:
			$binary -s -r $Retry_byte -f $conf &
                                      ^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
			$binary -s -r "$Retry_byte" -f $conf &


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/ntpd.sh line 55:
	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/ntpd.sh line 65:
	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/ntpd.sh line 66:
	kill $(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 $(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/ntpd.sh line 82:
	checkExited && echo "ok." || die "ng."
                    ^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/ntpd.sh line 89:
[ "$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/SC2046 -- Quote this to prevent word splitt...
  https://www.shellcheck.net/wiki/SC2154 -- DHCPNTPEnable_byte is referenced ...