In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup 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/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 4:
. /lib/rcscripts/sh/rc-std2parse.sh
^-- SC1091 (info): Not following: /lib/rcscripts/sh/rc-std2parse.sh was not specified as input (see shellcheck -x).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 5:
. /etc/conf.d/mcast-redir
^---------------------^ SC1091 (info): Not following: /etc/conf.d/mcast-redir was not specified as input (see shellcheck -x).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 8:
self=${0##*/}
^--^ SC2034 (warning): self appears unused. Verify use (or export if used externally).
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 13:
local output_if vlan_id
^---------------------^ SC3043 (warning): In POSIX sh, 'local' is undefined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 41:
ip -o link show $output_if 2>/dev/null |
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ip -o link show "$output_if" 2>/dev/null |
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 50:
ip link show dev $REDIR_IF >/dev/null 2>&1 ||
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ip link show dev "$REDIR_IF" >/dev/null 2>&1 ||
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 51:
vconfig add $output_if $vlan_id || {
^--------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
vconfig add "$output_if" "$vlan_id" || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 57:
ip -o link show dev $REDIR_IF 2>/dev/null |
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ip -o link show dev "$REDIR_IF" 2>/dev/null |
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 58:
grep -q '^[0-9]\+:[[:blank:]]\+$REDIR_IF:.*,UP.*' ||
^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 59:
ip link set up dev $REDIR_IF || {
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ip link set up dev "$REDIR_IF" || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 65:
ip route add default dev $REDIR_IF table 220
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ip route add default dev "$REDIR_IF" table 220
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 66:
ip rule add fwmark $REDIR_MARKER table 220
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ip rule add fwmark "$REDIR_MARKER" table 220
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-redir-setup line 74:
vconfig rem $REDIR_IF 2>/dev/null || :
^-------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
vconfig rem "$REDIR_IF" 2>/dev/null || :
For more information:
https://www.shellcheck.net/wiki/SC2034 -- self appears unused. Verify use (...
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC1091 -- Not following: /etc/conf.d/mcast-...