fix test of IPv6 env variable

Signed-off-by: limes007 <39467727+limes007@users.noreply.github.com>
This commit is contained in:
limes007 2021-04-09 20:14:39 +02:00
parent 20cd9c3abf
commit ededb44601
1 changed files with 1 additions and 1 deletions

View File

@ -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;