fixup! (fix) Synology (#1433)

pull/1435/head
bokkoman 1 year ago committed by GitHub
parent 169541f812
commit 8fe05365ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save