In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.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_ipv6.sh line 14:
[ -z $wireless_median ] && wireless_median=apcli0
^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -z "$wireless_median" ] && wireless_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_ipv6.sh line 23:
if [ $IPv6type -ne 0 ]
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$IPv6type" -ne 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_ipv6.sh line 34:
echo 0 > /proc/sys/net/ipv6/conf/$wireless_median/autoconf
^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo 0 > /proc/sys/net/ipv6/conf/"$wireless_median"/autoconf
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 35:
echo 0 > /proc/sys/net/ipv6/conf/$wireless_median/accept_ra
^--------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo 0 > /proc/sys/net/ipv6/conf/"$wireless_median"/accept_ra
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 46:
echo 1 > /proc/sys/net/ipv6/conf/$ipv6_interface/autoconf
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo 1 > /proc/sys/net/ipv6/conf/"$ipv6_interface"/autoconf
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 47:
echo 1 > /proc/sys/net/ipv6/conf/$ipv6_interface/accept_ra
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo 1 > /proc/sys/net/ipv6/conf/"$ipv6_interface"/accept_ra
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 55:
echo 0 > /proc/sys/net/ipv6/conf/$ipv6_interface/autoconf
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo 0 > /proc/sys/net/ipv6/conf/"$ipv6_interface"/autoconf
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 62:
ip addr add $ipv6_address/$ipv6_prefix dev $ipv6_interface || return 1
^-----------^ 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:
ip addr add "$ipv6_address"/"$ipv6_prefix" dev "$ipv6_interface" || return 1
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 65:
ipv6_gateway_network_id=$(/sbin/ipv6_get_network_id $ipv6_gateway $ipv6_prefix $ipv6_gateway)
^-----------^ 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:
ipv6_gateway_network_id=$(/sbin/ipv6_get_network_id "$ipv6_gateway" "$ipv6_prefix" "$ipv6_gateway")
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 66:
ipv6_gateway_network_id_prefix=$(echo $ipv6_gateway_network_id | cut -d ":" -f1)
^----------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ipv6_gateway_network_id_prefix=$(echo "$ipv6_gateway_network_id" | 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/network_services_ipv6.sh line 67:
if [ $ipv6_gateway_network_id_prefix != 'fe80' ]; then
^-----------------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$ipv6_gateway_network_id_prefix" != 'fe80' ]; then
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 68:
ip -6 route add $ipv6_gateway/$ipv6_prefix dev $ipv6_interface
^-----------^ 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:
ip -6 route add "$ipv6_gateway"/"$ipv6_prefix" dev "$ipv6_interface"
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 74:
route -A inet6 add ::/0 gw $ipv6_gateway dev $ipv6_interface
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
route -A inet6 add ::/0 gw "$ipv6_gateway" dev "$ipv6_interface"
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 75:
if [ "$?" = "0" ]; then
^--^ SC2181 (style): Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 79:
ip addr del $ipv6_address/$ipv6_prefix dev $ipv6_interface && return 1
^-----------^ 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:
ip addr del "$ipv6_address"/"$ipv6_prefix" dev "$ipv6_interface" && return 1
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/network_services_ipv6.sh line 112:
[ "$pidipv6_network_helper" != "" ] && kill -9 $pidipv6_network_helper > /dev/null 2> /dev/null
^---------------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$pidipv6_network_helper" != "" ] && kill -9 "$pidipv6_network_helper" > /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_ipv6.sh line 113:
[ "$piddibbler" != "" ] && kill -s SIGUSR2 $piddibbler > /dev/null 2> /dev/null
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$piddibbler" != "" ] && kill -s SIGUSR2 "$piddibbler" > /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_ipv6.sh line 123:
[ "$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/SC2015 -- Note that A && B || C is not if-t...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...