In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 4:
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/network_services.sh line 14:
[ -z $median ] && median=apcli0
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -z "$median" ] && median=apcli0
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 58:
local daemons=""
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 59:
local test_count=0
^--------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 70:
[ -x "/etc/rc.d/init.d/ntpd.sh" ] && pidntpd=$(pidof ntpd)
^-----^ SC2034 (warning): pidntpd 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/network_services.sh line 85:
[ "$pidmDNSResponder" != "" ] && kill -s SIGQUIT $pidmDNSResponder > /dev/null 2> /dev/null
^---------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$pidmDNSResponder" != "" ] && kill -s SIGQUIT "$pidmDNSResponder" > /dev/null 2> /dev/null
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 87:
killall -9 $daemons > /dev/null 2> /dev/null
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
killall -9 "$daemons" > /dev/null 2> /dev/null
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 90:
pids=$(pidof $daemons) || return 0
^--^ SC2034 (warning): pids appears unused. Verify use (or export if used externally).
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
pids=$(pidof "$daemons") || return 0
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 91:
echo $daemons is not stop clearly
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo "$daemons" is not stop clearly
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 92:
killall $daemons > /dev/null 2> /dev/null
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
killall "$daemons" > /dev/null 2> /dev/null
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 94:
let test_count=test_count+1
^-------------------------^ SC3039 (warning): In POSIX sh, 'let' is undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 96:
killall -9 $daemons > /dev/null 2> /dev/null
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
killall -9 "$daemons" > /dev/null 2> /dev/null
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services.sh line 108:
[ "$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/network_services.sh line 111:
[ $(tdb get Wireless Enable_byte) -eq 1 ] && setWlanInterface
^-----------------------------^ 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 -- pidntpd appears unused. Verify us...
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...