From c217be06c6ced586976e4e900701c84d51f6e35c Mon Sep 17 00:00:00 2001 From: Colin Kubon Date: Thu, 2 Oct 2025 09:24:06 +0200 Subject: [PATCH] scripts: make sure /etc/docker exists (#6791) --- _modules/scripts/ipv6_controller.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/_modules/scripts/ipv6_controller.sh b/_modules/scripts/ipv6_controller.sh index 1ff5eb198..a025ee178 100644 --- a/_modules/scripts/ipv6_controller.sh +++ b/_modules/scripts/ipv6_controller.sh @@ -155,6 +155,7 @@ docker_daemon_edit(){ fi if [[ $ans =~ ^[Yy]$ ]]; then + mkdir -p "$(dirname "$DOCKER_DAEMON_CONFIG")" if [[ -n "$DOCKER_MAJOR" && "$DOCKER_MAJOR" -lt 27 ]]; then cat > "$DOCKER_DAEMON_CONFIG" <