In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 3:
. /lib/functions.sh
^---------------^ SC1091 (info): Not following: /lib/functions.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 4:
. ../netifd-proto.sh
^----------------^ SC1091 (info): Not following: ../netifd-proto.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 8:
renew_handler=1
^-----------^ SC2034 (warning): renew_handler appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 53:
local config="$1"
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 54:
local iface="$2"
^---------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 56:
local reqaddress reqprefix clientid reqopts defaultreqopts noslaaconly forceprefix extendprefix norelease noserverunicast noclientfqdn noacceptreconfig ip6prefix ip6prefixes iface_dslite iface_map iface_464xlat ifaceid userclass vendorclass sendopts delegate zone_dslite zone_map zone_464xlat zone encaplimit_dslite encaplimit_map soltimeout fakeroutes sourcefilter keep_ra_dnslifetime ra_holdoff
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
^-------^ SC2034 (warning): ip6prefix appears unused. Verify use (or export if used externally).
^------^ SC2034 (warning): sendopts appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 61:
local opts=""
^--------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 64:
[ -z "$reqprefix" -o "$reqprefix" = "auto" ] && reqprefix=0
^-- SC2166 (warning): Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 93:
local opt
^-------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 121:
$opts $iface
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
"$opts" "$iface"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 125:
local interface="$1"
^-------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 127:
local sigusr1="$(kill -l SIGUSR1)"
^-----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
^-----^ SC2155 (warning): Declare and assign separately to avoid masking return values.
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 128:
[ -n "$sigusr1" ] && proto_kill_command "$interface" $sigusr1
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -n "$sigusr1" ] && proto_kill_command "$interface" "$sigusr1"
In /logs/firmware/unblob_extracted/firmware_extract/1568982-13971496.squashfs_v4_le_extract/lib/netifd/proto/dhcpv6.sh line 132:
local interface="$1"
^-------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
For more information:
https://www.shellcheck.net/wiki/SC2034 -- ip6prefix appears unused. Verify ...
https://www.shellcheck.net/wiki/SC2155 -- Declare and assign separately to ...
https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] || [ q ] as [ p -o q...