fix test of IPv6 env variable
Signed-off-by: limes007 <39467727+limes007@users.noreply.github.com>
This commit is contained in:
parent
20cd9c3abf
commit
ededb44601
|
@ -251,7 +251,7 @@ setup_web_password() {
|
|||
|
||||
setup_ipv4_ipv6() {
|
||||
local ip_versions="IPv4 and IPv6"
|
||||
if [ "$IPv6" != "True" ] ; then
|
||||
if [ "${IPv6,,}" != "true" ] ; then
|
||||
ip_versions="IPv4"
|
||||
sed -i '/use-ipv6.pl/ d' /etc/lighttpd/lighttpd.conf
|
||||
fi;
|
||||
|
|
Loading…
Reference in New Issue