In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 3:
. /lib/rcscripts/sh/error.sh
^------------------------^ SC1091 (info): Not following: /lib/rcscripts/sh/error.sh was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 4:
. /etc/conf.d/iptables || error "Failed to source config file"
^------------------^ SC1091 (info): Not following: /etc/conf.d/iptables was not specified as input (see shellcheck -x).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 16:
:
^-- SC2317 (info): Command appears to be unreachable. Check usage (or ignore if invoked indirectly).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 26:
error "Failed to $@"
^-- SC2145 (error): Argument mixes string and array. Use * or separate argument.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 35:
$IPTABLES -P INPUT $1 || fail "set $1 policy!"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$IPTABLES -P INPUT "$1" || fail "set $1 policy!"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 36:
$IP6TABLES -P INPUT $1 || fail "set $1 policy!"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$IP6TABLES -P INPUT "$1" || fail "set $1 policy!"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 40:
local family
^----------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 45:
*[!.:[:xdigit:][:blank:]\/,]*)
^-- SC1001 (info): This \/ will be a regular '/' in this context.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 52:
family=4
^----^ SC2034 (warning): family appears unused. Verify use (or export if used externally).
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 58:
eval $2=\$family || error "Failed to evaluate IP address family"
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
eval "$2"=\$family || error "Failed to evaluate IP address family"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/libexec/iptables line 62:
local added_iptables=0 added_ip6tables=0 af=0
^-- SC3043 (warning): In POSIX sh, 'local' is undefined.
For more information:
https://www.shellcheck.net/wiki/SC2145 -- Argument mixes string and array. ...
https://www.shellcheck.net/wiki/SC2034 -- family appears unused. Verify use...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.