From acfa637de041c12f2feabc3de0a91dc4f076dae1 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Thu, 9 Feb 2017 22:19:32 +0100 Subject: [PATCH] change back to ipv6 --- wordpress-startup-script.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wordpress-startup-script.sh b/wordpress-startup-script.sh index 510b81c..4fa2de5 100644 --- a/wordpress-startup-script.sh +++ b/wordpress-startup-script.sh @@ -588,6 +588,9 @@ echo echo -e "\e[0m" fi +# Prefer IPv6 +sed -i "s|precedence ::ffff:0:0/96 100|#precedence ::ffff:0:0/96 100|g" /etc/gai.conf + ## Reboot echo "Installations finished. System will now reboot..." reboot