From 87b7e503e9e3faaaef31a142dc2ab340909e8520 Mon Sep 17 00:00:00 2001
From: David Beniamine <david.beniamine@tetras-libre.fr>
Date: Mon, 24 Oct 2022 11:51:31 +0200
Subject: [PATCH] Reactivate ipv6 on reseau

---
 postinstall_reseau.sh | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/postinstall_reseau.sh b/postinstall_reseau.sh
index 10478ac..3c07c31 100755
--- a/postinstall_reseau.sh
+++ b/postinstall_reseau.sh
@@ -42,3 +42,7 @@ chown -R www-data:www-data eole-wol/wol/www
 mkdir -p /etc/xrdp
 cp /var/www/eole-wol/wol/xrdp.ini /etc/xrdp
 systemctl restart xrdp
+
+# Reactivate ipv6
+rm /etc/sysctl.d/50_disabled_ipv6.conf
+sysctl -w net.ipv6.conf.all.disable_ipv6=0
-- 
GitLab