fix unbound IPV6_METHOD crash with
This commit is contained in:
parent
8f28a5dbf1
commit
2a0ce9aaeb
@ -52,7 +52,7 @@ catch_errors
|
||||
verb_ip6() {
|
||||
set_std_mode # Set STD mode based on VERBOSE
|
||||
|
||||
if [ "$IPV6_METHOD" == "disable" ]; then
|
||||
if [ "${IPV6_METHOD:-}" = "disable" ]; then
|
||||
msg_info "Disabling IPv6 (this may affect some services)"
|
||||
mkdir -p /etc/sysctl.d
|
||||
$STD tee /etc/sysctl.d/99-disable-ipv6.conf >/dev/null <<EOF
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user