From 215a8addff4332f1d8609bc3262a59e80c28d4d6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 10 Dec 2025 08:24:45 +0000 Subject: [PATCH] Add clarifying comment about MAILCOW_CONF usage in configure_ipv6 Co-authored-by: DerLinkman <62480600+DerLinkman@users.noreply.github.com> --- _modules/scripts/ipv6_controller.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/_modules/scripts/ipv6_controller.sh b/_modules/scripts/ipv6_controller.sh index be60c1745..1d6da2a6f 100644 --- a/_modules/scripts/ipv6_controller.sh +++ b/_modules/scripts/ipv6_controller.sh @@ -225,6 +225,8 @@ configure_ipv6() { if ! docker_daemon_edit; then # User declined Docker daemon configuration + # When called from update.sh, MAILCOW_CONF is set and we modify the existing file + # When called from generate_config.sh, MAILCOW_CONF is not set and we export IPV6_BOOL if [[ -n "$MAILCOW_CONF" && -f "$MAILCOW_CONF" ]]; then if grep -q '^ENABLE_IPV6=' "$MAILCOW_CONF"; then sed -i 's/^ENABLE_IPV6=.*/ENABLE_IPV6=false/' "$MAILCOW_CONF"