Merge pull request #823 from limes007/master
Make test of IPv6 env variable case insensitive
This commit is contained in:
commit
87c99a0b8c
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue