diff --git a/auto_config.sh b/auto_config.sh index 05acab9..eb409c1 100755 --- a/auto_config.sh +++ b/auto_config.sh @@ -174,7 +174,8 @@ if $DISABLE_IPv6 ; then # Disable ipv6 on all connexion net.ipv6.conf.all.disable_ipv6 = 1 EOF - sysctl -p /etc/sysctl.d/98-disable-ipv6.conf + # Disable IPv6 now + systemctl restart systemd-sysctl.service fi ################################################################################