Skip to content

Instantly share code, notes, and snippets.

View bartclone's full-sized avatar

Bart clones it (or IT) bartclone

  • For fun and joy
  • Netherlands
  • 08:29 (UTC +01:00)
View GitHub Profile
@pedrolamas
pedrolamas / docker-iptables-fix.sh
Created August 18, 2020 19:32
Script to fix Docker iptables on Synology NAS
#!/bin/bash
currentAttempt=0
totalAttempts=10
delay=15
while [ $currentAttempt -lt $totalAttempts ]
do
currentAttempt=$(( $currentAttempt + 1 ))
echo "Attempt $currentAttempt of $totalAttempts..."