Merge pull request #823 from limes007/master

Make test of IPv6 env variable case insensitive
This commit is contained in:
Adam Warner 2021-04-16 19:40:25 +01:00 committed by GitHub
commit 87c99a0b8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,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;