In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 5:
boot_mode=`pibinfo BootMode`
          ^----------------^ SC2006 (style): Use $(...) notation instead of legacy backticks `...`.

Did you mean: 
boot_mode=$(pibinfo BootMode)


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 13:
if [ $boot_mode = "normal" ] && [ $Server_Enabled -eq "0" ]; 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 [ "$boot_mode" = "normal" ] && [ "$Server_Enabled" -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/lighttpd.sh line 21:
	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/lighttpd.sh line 30:
	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/lighttpd.sh line 89:
	echo -n "$1" | md5sum | cut -b -32
             ^-- 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/lighttpd.sh line 108:
	setupUser "$AdminUser_ss" "$AdminPasswd_ss"
                   ^-----------^ SC2154 (warning): AdminUser_ss is referenced but not assigned.
                                   ^-------------^ SC2154 (warning): AdminPasswd_ss 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/lighttpd.sh line 109:
	[ "$User1_ss" != "" ] && setupUser "$User1_ss" "$Password1_ss"
           ^-------^ SC2154 (warning): User1_ss is referenced but not assigned.
                                                        ^-----------^ SC2154 (warning): Password1_ss 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/lighttpd.sh line 110:
	[ "$User2_ss" != "" ] && setupUser "$User2_ss" "$Password2_ss"
           ^-------^ SC2154 (warning): User2_ss is referenced but not assigned.
                                                        ^-----------^ SC2154 (warning): Password2_ss 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/lighttpd.sh line 111:
	[ "$User3_ss" != "" ] && setupUser "$User3_ss" "$Password3_ss"
           ^-------^ SC2154 (warning): User3_ss is referenced but not assigned.
                                                        ^-----------^ SC2154 (warning): Password3_ss 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/lighttpd.sh line 112:
	[ "$User4_ss" != "" ] && setupUser "$User4_ss" "$Password4_ss"
           ^-------^ SC2154 (warning): User4_ss is referenced but not assigned.
                                                        ^-----------^ SC2154 (warning): Password4_ss 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/lighttpd.sh line 113:
	[ "$User5_ss" != "" ] && setupUser "$User5_ss" "$Password5_ss"
           ^-------^ SC2154 (warning): User5_ss is referenced but not assigned.
                                                        ^-----------^ SC2154 (warning): Password5_ss 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/lighttpd.sh line 114:
	[ "$User6_ss" != "" ] && setupUser "$User6_ss" "$Password6_ss"
           ^-------^ SC2154 (warning): User6_ss is referenced but not assigned.
                                                        ^-----------^ SC2154 (warning): Password6_ss 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/lighttpd.sh line 115:
	[ "$User7_ss" != "" ] && setupUser "$User7_ss" "$Password7_ss"
           ^-------^ SC2154 (warning): User7_ss is referenced but not assigned.
                                                        ^-----------^ SC2154 (warning): Password7_ss 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/lighttpd.sh line 116:
	[ "$User8_ss" != "" ] && setupUser "$User8_ss" "$Password8_ss"
           ^-------^ SC2154 (warning): User8_ss is referenced but not assigned.
                                                        ^-----------^ SC2154 (warning): Password8_ss 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/lighttpd.sh line 117:
	[ "$User9_ss" != "" ] && setupUser "$User9_ss" "$Password9_ss"
           ^-------^ SC2154 (warning): User9_ss is referenced but not assigned.
                                                        ^-----------^ SC2154 (warning): Password9_ss 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/lighttpd.sh line 118:
	[ "$User10_ss" != "" ] && setupUser "$User10_ss" "$Password10_ss"
           ^--------^ SC2154 (warning): User10_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password10_ss 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/lighttpd.sh line 119:
	[ "$User11_ss" != "" ] && setupUser "$User11_ss" "$Password11_ss"
           ^--------^ SC2154 (warning): User11_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password11_ss 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/lighttpd.sh line 120:
	[ "$User12_ss" != "" ] && setupUser "$User12_ss" "$Password12_ss"
           ^--------^ SC2154 (warning): User12_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password12_ss 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/lighttpd.sh line 121:
	[ "$User13_ss" != "" ] && setupUser "$User13_ss" "$Password13_ss"
           ^--------^ SC2154 (warning): User13_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password13_ss 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/lighttpd.sh line 122:
	[ "$User14_ss" != "" ] && setupUser "$User14_ss" "$Password14_ss"
           ^--------^ SC2154 (warning): User14_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password14_ss 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/lighttpd.sh line 123:
	[ "$User15_ss" != "" ] && setupUser "$User15_ss" "$Password15_ss"
           ^--------^ SC2154 (warning): User15_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password15_ss 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/lighttpd.sh line 124:
	[ "$User16_ss" != "" ] && setupUser "$User16_ss" "$Password16_ss"
           ^--------^ SC2154 (warning): User16_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password16_ss 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/lighttpd.sh line 125:
	[ "$User17_ss" != "" ] && setupUser "$User17_ss" "$Password17_ss"
           ^--------^ SC2154 (warning): User17_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password17_ss 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/lighttpd.sh line 126:
	[ "$User18_ss" != "" ] && setupUser "$User18_ss" "$Password18_ss"
           ^--------^ SC2154 (warning): User18_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password18_ss 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/lighttpd.sh line 127:
	[ "$User19_ss" != "" ] && setupUser "$User19_ss" "$Password19_ss"
           ^--------^ SC2154 (warning): User19_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password19_ss 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/lighttpd.sh line 128:
	[ "$User20_ss" != "" ] && setupUser "$User20_ss" "$Password20_ss"
           ^--------^ SC2154 (warning): User20_ss is referenced but not assigned.
                                                          ^------------^ SC2154 (warning): Password20_ss 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/lighttpd.sh line 129:
	[ "$Operator1_ss" != "" ] && setupUser "$Operator1_ss" "$OperatorPwd1_ss"
           ^-----------^ SC2154 (warning): Operator1_ss is referenced but not assigned.
                                                                ^--------------^ SC2154 (warning): OperatorPwd1_ss 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/lighttpd.sh line 130:
	[ "$Operator2_ss" != "" ] && setupUser "$Operator2_ss" "$OperatorPwd2_ss"
           ^-----------^ SC2154 (warning): Operator2_ss is referenced but not assigned.
                                                                ^--------------^ SC2154 (warning): OperatorPwd2_ss 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/lighttpd.sh line 131:
	[ "$Operator3_ss" != "" ] && setupUser "$Operator3_ss" "$OperatorPwd3_ss"
           ^-----------^ SC2154 (warning): Operator3_ss is referenced but not assigned.
                                                                ^--------------^ SC2154 (warning): OperatorPwd3_ss 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/lighttpd.sh line 132:
	[ "$Operator4_ss" != "" ] && setupUser "$Operator4_ss" "$OperatorPwd4_ss"
           ^-----------^ SC2154 (warning): Operator4_ss is referenced but not assigned.
                                                                ^--------------^ SC2154 (warning): OperatorPwd4_ss 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/lighttpd.sh line 133:
	[ "$Operator5_ss" != "" ] && setupUser "$Operator5_ss" "$OperatorPwd5_ss"
           ^-----------^ SC2154 (warning): Operator5_ss is referenced but not assigned.
                                                                ^--------------^ SC2154 (warning): OperatorPwd5_ss 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/lighttpd.sh line 134:
) 200>/tmp/lock.1
  ^-------------^ SC3023 (warning): In POSIX sh, FDs outside 0-9 are undefined.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 145:
if [ "$SnapAuth_byte" -eq 1 ]; then
      ^------------^ SC2154 (warning): SnapAuth_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/lighttpd.sh line 222:
if [ "$LiveAuth_byte" -eq 1 ]; then
      ^------------^ SC2154 (warning): LiveAuth_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/lighttpd.sh line 330:
		echo -n '$HTTP["scheme"] == "https" {
                ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
                     ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
                        ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 333:
        	echo -n ":$HttpPort_num" >> /tmp/lighttpd-inc.conf
                     ^-- 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/lighttpd.sh line 334:
        	echo '$0")
                     ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 338:
		echo -n '$HTTP["scheme"] == "https" {
                ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
                     ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
                        ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 341:
        	echo -n ":$HttpPort_num" >> /tmp/lighttpd-inc.conf
                     ^-- 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/lighttpd.sh line 342:
        	echo '$0")
                     ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 356:
		echo -n '$HTTP["scheme"] == "http" {
                ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
                     ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
                        ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 360:
		echo -n ":$HttpsPort_num" >> /tmp/lighttpd-inc.conf
                     ^-- 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/lighttpd.sh line 361:
        	echo '$0")
                     ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 366:
		echo -n '$HTTP["scheme"] == "http" {
                ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
                     ^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
                        ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 370:
		echo -n ":$HttpsPort_num" >> /tmp/lighttpd-inc.conf
                     ^-- 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/lighttpd.sh line 371:
        	echo '$0")
                     ^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.


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

Did you mean: 
	if [ "$IPv6_Enabled" -eq "1" ]; then 


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 413:
	setupAuthRules >> /tmp/lighttpd-inc.conf
        ^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 421:
	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/lighttpd.sh line 422:
	[ -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/lighttpd.sh line 423:
	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/lighttpd.sh line 424:
	export PREFIX=$prefix
                      ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	export PREFIX="$prefix"


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 427:
	eval $(dumpAccountKey | tdb get HTTPAccount)
             ^-- 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/lighttpd.sh line 435:
	model=$( [ $(pibinfo Wireless) -eq 1 ] && tdb get System ModelW_ss || tdb get System Model_ss )
                   ^-----------------^ SC2046 (warning): Quote this to prevent word splitting.
                                               ^-- 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/lighttpd.sh line 451:
	[ -d "/mnt/usb/$model" ] && [ ! -L "/var/www/volumes/local" ] && ln -sf /mnt/usb/$model /var/www/volumes/local
                                                                                         ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -d "/mnt/usb/$model" ] && [ ! -L "/var/www/volumes/local" ] && ln -sf /mnt/usb/"$model" /var/www/volumes/local


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 452:
	[ -d "/mnt/usb/$model" ] && [ ! -L "/var/www/volumes2/local" ] && ln -sf /mnt/usb/$model /var/www/volumes2/local
                                                                                          ^----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	[ -d "/mnt/usb/$model" ] && [ ! -L "/var/www/volumes2/local" ] && ln -sf /mnt/usb/"$model" /var/www/volumes2/local


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 455:
	$binary -f $prefix/etc/lighttpd/lighttpd.conf -m $prefix/lib
                   ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
                                                         ^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.

Did you mean: 
	$binary -f "$prefix"/etc/lighttpd/lighttpd.conf -m "$prefix"/lib


In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd.sh line 457:
	kill -USR1 $(pidof rtspd | cut -d' ' -f1)
                   ^----------------------------^ 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/lighttpd.sh line 461:
	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/lighttpd.sh line 467:
	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/lighttpd.sh line 468:
	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/lighttpd.sh line 490:
[ "$end" = "" ] && [ "$action" != "" ] || showUsage
                ^-- 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/lighttpd.sh line 493:
conf=$prefix/etc/$daemon.conf
^--^ SC2034 (warning): conf 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/lighttpd.sh line 514:
		eval $(dumpAccountKey | tdb get HTTPAccount)
                     ^-- 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/lighttpd.sh line 515:
		model=$( [ $(pibinfo Wireless) -eq 1 ] && tdb get System ModelW_ss || tdb get System Model_ss )
                           ^-----------------^ SC2046 (warning): Quote this to prevent word splitting.
                                                       ^-- 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/lighttpd.sh line 520:
		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/lighttpd.sh line 522:
		kill -USR1 $(pidof rtspd | cut -d' ' -f1)
                           ^----------------------------^ SC2046 (warning): Quote this to prevent word splitting.

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