In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 7:
if [ $Server_Enabled -eq "0" ]; then
^-------------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$Server_Enabled" -eq "0" ]; then
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 11:
if [ $(tdb get System OEM_ss) == "Alphanetworks" ] || [ $(tdb get System OEM_ss) == "Trendnet" ]; then
^----------------------^ SC2046 (warning): Quote this to prevent word splitting.
^-- SC3014 (warning): In POSIX sh, == in place of = is undefined.
^----------------------^ SC2046 (warning): Quote this to prevent word splitting.
^-- SC3014 (warning): In POSIX sh, == in place of = is undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 20:
echo $&commat
^-- SC2068 (error): Double quote array expansions to avoid re-splitting elements.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 29:
echo -n "\
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 88:
eval $(dumpAccountKey | tdb get HTTPAccount)
^-- SC2046 (warning): Quote this to prevent word splitting.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 92:
echo -n "$1" | md5sum | cut -b -32
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 114:
if [ "$LiveAuth_byte" -eq 1 ]; then
^------------^ SC2154 (warning): LiveAuth_byte is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 116:
if [ "$SnapAuth_byte" -eq 1 ]; then
^------------^ SC2154 (warning): SnapAuth_byte is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 212:
"require" => "user=$AdminUser_ss"
^-----------^ SC2154 (warning): AdminUser_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 230:
echo -n "Startting $daemon... "
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 231:
[ -x $binary ] || die "$binary is not a valid application"
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
[ -x "$binary" ] || die "$binary is not a valid application"
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 232:
export LD_LIBRARY_PATH=$prefix/lib
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
export LD_LIBRARY_PATH="$prefix"/lib
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 233:
export PREFIX=$prefix
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
export PREFIX="$prefix"
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 238:
model=$( [ $(pibinfo Wireless) -eq 1 ] && tdb get System ModelW_ss || tdb get System Model_ss )
^-----------------^ SC2046 (warning): Quote this to prevent word splitting.
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 245:
echo "auth.require.accept.provision = $(admin-accept)" >> /tmp/lighttpd-inc_ssl.conf
^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 261:
echo -n '$HTTP["scheme"] == "https" {
^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
^-- 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/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 264:
echo -n ":$Port_num" >> /tmp/lighttpd-inc_ssl.conf
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 265:
echo '$0")
^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 269:
echo -n '$HTTP["scheme"] == "https" {
^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
^-- 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/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 272:
echo -n ":$Port_num" >> /tmp/lighttpd-inc_ssl.conf
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 273:
echo '$0")
^-- SC2016 (info): Expressions don't expand in single quotes, use double quotes for that.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 281:
if [ $IPv6_Enabled -eq "1" ]; then
^-----------^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
if [ "$IPv6_Enabled" -eq "1" ]; then
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 287:
echo "ssl.engine = \"enable\"" >> /tmp/lighttpd-inc_ssl.conf
^-- SC2129 (style): Consider using { cmd1; cmd2; } >> file instead of individual redirects.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 294:
setupAdmin "$AdminUser_ss" "$AdminPasswd_ss"
^-------------^ SC2154 (warning): AdminPasswd_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 295:
[ "$User1_ss" != "" ] && setupUser "$User1_ss" "$Password1_ss"
^-------^ SC2154 (warning): User1_ss is referenced but not assigned.
^-----------^ SC2154 (warning): Password1_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 296:
[ "$User2_ss" != "" ] && setupUser "$User2_ss" "$Password2_ss"
^-------^ SC2154 (warning): User2_ss is referenced but not assigned.
^-----------^ SC2154 (warning): Password2_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 297:
[ "$User3_ss" != "" ] && setupUser "$User3_ss" "$Password3_ss"
^-------^ SC2154 (warning): User3_ss is referenced but not assigned.
^-----------^ SC2154 (warning): Password3_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 298:
[ "$User4_ss" != "" ] && setupUser "$User4_ss" "$Password4_ss"
^-------^ SC2154 (warning): User4_ss is referenced but not assigned.
^-----------^ SC2154 (warning): Password4_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 299:
[ "$User5_ss" != "" ] && setupUser "$User5_ss" "$Password5_ss"
^-------^ SC2154 (warning): User5_ss is referenced but not assigned.
^-----------^ SC2154 (warning): Password5_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 300:
[ "$User6_ss" != "" ] && setupUser "$User6_ss" "$Password6_ss"
^-------^ SC2154 (warning): User6_ss is referenced but not assigned.
^-----------^ SC2154 (warning): Password6_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 301:
[ "$User7_ss" != "" ] && setupUser "$User7_ss" "$Password7_ss"
^-------^ SC2154 (warning): User7_ss is referenced but not assigned.
^-----------^ SC2154 (warning): Password7_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 302:
[ "$User8_ss" != "" ] && setupUser "$User8_ss" "$Password8_ss"
^-------^ SC2154 (warning): User8_ss is referenced but not assigned.
^-----------^ SC2154 (warning): Password8_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 303:
[ "$User9_ss" != "" ] && setupUser "$User9_ss" "$Password9_ss"
^-------^ SC2154 (warning): User9_ss is referenced but not assigned.
^-----------^ SC2154 (warning): Password9_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 304:
[ "$User10_ss" != "" ] && setupUser "$User10_ss" "$Password10_ss"
^--------^ SC2154 (warning): User10_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password10_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 305:
[ "$User11_ss" != "" ] && setupUser "$User11_ss" "$Password11_ss"
^--------^ SC2154 (warning): User11_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password11_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 306:
[ "$User12_ss" != "" ] && setupUser "$User12_ss" "$Password12_ss"
^--------^ SC2154 (warning): User12_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password12_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 307:
[ "$User13_ss" != "" ] && setupUser "$User13_ss" "$Password13_ss"
^--------^ SC2154 (warning): User13_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password13_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 308:
[ "$User14_ss" != "" ] && setupUser "$User14_ss" "$Password14_ss"
^--------^ SC2154 (warning): User14_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password14_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 309:
[ "$User15_ss" != "" ] && setupUser "$User15_ss" "$Password15_ss"
^--------^ SC2154 (warning): User15_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password15_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 310:
[ "$User16_ss" != "" ] && setupUser "$User16_ss" "$Password16_ss"
^--------^ SC2154 (warning): User16_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password16_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 311:
[ "$User17_ss" != "" ] && setupUser "$User17_ss" "$Password17_ss"
^--------^ SC2154 (warning): User17_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password17_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 312:
[ "$User18_ss" != "" ] && setupUser "$User18_ss" "$Password18_ss"
^--------^ SC2154 (warning): User18_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password18_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 313:
[ "$User19_ss" != "" ] && setupUser "$User19_ss" "$Password19_ss"
^--------^ SC2154 (warning): User19_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password19_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 314:
[ "$User20_ss" != "" ] && setupUser "$User20_ss" "$Password20_ss"
^--------^ SC2154 (warning): User20_ss is referenced but not assigned.
^------------^ SC2154 (warning): Password20_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 315:
[ "$Operator1_ss" != "" ] && setupUser "$Operator1_ss" "$OperatorPwd1_ss"
^-----------^ SC2154 (warning): Operator1_ss is referenced but not assigned.
^--------------^ SC2154 (warning): OperatorPwd1_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 316:
[ "$Operator2_ss" != "" ] && setupUser "$Operator2_ss" "$OperatorPwd2_ss"
^-----------^ SC2154 (warning): Operator2_ss is referenced but not assigned.
^--------------^ SC2154 (warning): OperatorPwd2_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 317:
[ "$Operator3_ss" != "" ] && setupUser "$Operator3_ss" "$OperatorPwd3_ss"
^-----------^ SC2154 (warning): Operator3_ss is referenced but not assigned.
^--------------^ SC2154 (warning): OperatorPwd3_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 318:
[ "$Operator4_ss" != "" ] && setupUser "$Operator4_ss" "$OperatorPwd4_ss"
^-----------^ SC2154 (warning): Operator4_ss is referenced but not assigned.
^--------------^ SC2154 (warning): OperatorPwd4_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 319:
[ "$Operator5_ss" != "" ] && setupUser "$Operator5_ss" "$OperatorPwd5_ss"
^-----------^ SC2154 (warning): Operator5_ss is referenced but not assigned.
^--------------^ SC2154 (warning): OperatorPwd5_ss is referenced but not assigned.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 326:
$binary -f $prefix/etc/lighttpd/lighttpd_ssl.conf -m $prefix/lib
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
$binary -f "$prefix"/etc/lighttpd/lighttpd_ssl.conf -m "$prefix"/lib
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 331:
echo -n "$daemon"
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 337:
echo -n "Stopping $daemon... "
^-- SC3037 (warning): In POSIX sh, echo flags are undefined.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 338:
kill $(echo $pids | cut -d' ' -f1)
^---------------------------^ SC2046 (warning): Quote this to prevent word splitting.
^---^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
kill $(echo "$pids" | cut -d' ' -f1)
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 347:
[ "$end" = "" ] && [ "$action" != "" ] || showUsage
^-- SC2015 (info): Note that A && B || C is not if-then-else. C may run when A is true.
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 350:
ln -sf $prefix/sbin/lighttpd $prefix/sbin/$daemon
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
^-----^ SC2086 (info): Double quote to prevent globbing and word splitting.
Did you mean:
ln -sf "$prefix"/sbin/lighttpd "$prefix"/sbin/$daemon
In /logs/firmware/patool_extraction/DUMP/mtdblock8_unblob_extracted/mtdblock8_extract/0-9650176.squashfs_v4_le_extract/etc/rc.d/init.d/lighttpd_ssl.sh line 351:
conf=$prefix/etc/$daemon.conf
^--^ SC2034 (warning): conf appears unused. Verify use (or export if used externally).
For more information:
https://www.shellcheck.net/wiki/SC2068 -- Double quote array expansions to ...
https://www.shellcheck.net/wiki/SC2034 -- conf appears unused. Verify use (...
https://www.shellcheck.net/wiki/SC2046 -- Quote this to prevent word splitt...