diff --git a/scripts/post-merge b/scripts/post-merge index 7adba43..1e77b4e 100755 --- a/scripts/post-merge +++ b/scripts/post-merge @@ -20,7 +20,7 @@ sed -i '/^ConnectTo/d' $TINCCFG for HOST in hosts/*; do # skip hosts without address - grep -q '^Address' -- "$HOST" || continue + grep -iq '^Address' -- "$HOST" || continue echo "ConnectTo = ${HOST##*/}" >> $TINCCFG done