In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/httpd-check-ciphers 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/sbin/httpd-check-ciphers line 55:
[ $entropy -gt $THRESHOLD ] || {
^------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ "$entropy" -gt $THRESHOLD ] || {
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/httpd-check-ciphers line 74:
ciphers=$(sed -n -e /$CIPHERS_KEY/s/[\'\"]//g -e /$CIPHERS_KEY/p $TMP_CONF)
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ciphers=$(sed -n -e /"$CIPHERS_KEY"/s/[\'\"]//g -e /"$CIPHERS_KEY"/p $TMP_CONF)
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/httpd-check-ciphers line 128:
[ $(openssl ciphers -s "$cipher" 2>/dev/null) ] || {
^-- SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/httpd-check-ciphers line 147:
[ $j = 0 -a $k = 0 ] || {
^-- SC2166 (warning): Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
In /logs/firmware/patool_extraction/rootfs.img_unblob_extracted/rootfs.img_extract/0-50593792.squashfs_v4_le_extract/usr/sbin/httpd-check-ciphers line 149:
sed -i s/$CIPHERS_KEY/$supported_ciphers/ $TMP_CONF
^----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
^----------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
sed -i s/"$CIPHERS_KEY"/"$supported_ciphers"/ $TMP_CONF
For more information:
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...
https://www.shellcheck.net/wiki/SC2166 -- Prefer [ p ] && [ q ] as [ p -a q...
https://www.shellcheck.net/wiki/SC1091 -- Not following: /lib/rcscripts/sh/...