From 8fe05365ef1815bc3f80102c50542477ecc8b8f6 Mon Sep 17 00:00:00 2001 From: bokkoman Date: Thu, 6 Jul 2023 16:38:22 +0200 Subject: [PATCH] fixup! (fix) Synology (#1433) --- docs/Hardlinks/How-to-setup-for/Synology.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Hardlinks/How-to-setup-for/Synology.md b/docs/Hardlinks/How-to-setup-for/Synology.md index 32453e7f6..34344ec3a 100644 --- a/docs/Hardlinks/How-to-setup-for/Synology.md +++ b/docs/Hardlinks/How-to-setup-for/Synology.md @@ -386,7 +386,7 @@ To fix this, you will need to add a Scheduled Task that executes at boot with ro currentAttempt=$(( $currentAttempt + 1 )) echo "Attempt $currentAttempt of $totalAttempts..." result=$(iptables-save) - if [[ $result =~ "-A DOCKER -i docker0 -j RETURN" ]]; then + if \[\[ $result =~ "-A DOCKER -i docker0 -j RETURN" \]\]; then echo "Docker rules found! Modifying..." iptables -t nat -A PREROUTING -m addrtype --dst-type LOCAL -j DOCKER