In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-always-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-always-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-always-setup line 9:
local mcast_video mcast_audio channel=0
^-- 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-always-setup line 10:
local setter=/usr/sbin/mcast-always-setter
^----------^ 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-always-setup line 21:
while [ $channel -lt $STD2_NETWORK_RTP_NBROFRTPGROUPS ]; do
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
while [ $channel -lt "$STD2_NETWORK_RTP_NBROFRTPGROUPS" ]; do
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-always-setup line 23:
[ "$mcast_video" != yes ] || $setter $1 $channel video || :
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$mcast_video" != yes ] || $setter "$1" $channel video || :
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-always-setup line 26:
[ "$mcast_audio" != yes ] || $setter $1 $channel audio || :
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$mcast_audio" != yes ] || $setter "$1" $channel audio || :
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-always-setup line 28:
channel=$(($channel + 1))
^------^ SC2004 (style): $/${} is unnecessary on arithmetic variables.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/libexec/mcast-always-setup line 33:
local mca_conf=/etc/dynamic/mcast-always.conf
^------------^ 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-always-setup line 46:
loop_through_channels $1
^-- SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
loop_through_channels "$1"
For more information:
https://www.shellcheck.net/wiki/SC3043 -- In POSIX sh, 'local' is undefined.
https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/rcscripts/sh/...
https://www.shellcheck.net/wiki/SC2086 -- Double quote to prevent globbing ...