In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 24:
TARGETS=$confgen_targets
^--------------^ SC2154 (warning): confgen_targets is referenced but not assigned.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 25:
TARGET_PARAMS=$confgen_parameters
^-----------------^ SC2154 (warning): confgen_parameters is referenced but not assigned.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 27:
target_cnt=$(echo $TARGETS | wc -w)
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
target_cnt=$(echo "$TARGETS" | wc -w)
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 35:
echo -n ' "'
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 36:
echo -n $target_id
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 37:
echo -n '" == "$(% ${R_MSEC} '
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
^--------------------^ SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 38:
echo -n $target_cnt
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
^---------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo -n "$target_cnt"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 42:
echo -n ' network("'
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 43:
echo -n $target
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo -n "$target"
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 44:
echo -n '" '
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/unblob_extracted/firmware_extract/4325012-58052244.squashfs_v4_le_extract/usr/share/syslog-ng/include/scl/loadbalancer/gen-loadbalancer.sh line 45:
echo -n $TARGET_PARAMS
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
^------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
echo -n "$TARGET_PARAMS"
For more information:
https://www.shellcheck.net/wiki/SC2154 -- confgen_parameters is referenced ...
https://www.shellcheck.net/wiki/SC3037 -- In POSIX sh, echo flags are undef...
https://www.shellcheck.net/wiki/SC2016 -- Expressions don't expand in singl...