From 0dc1fc7be3b9bd764149aa89618d51d94bebe8fb Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Mon, 13 Apr 2015 02:35:52 +0200 Subject: [PATCH] post-merge: allow case-insensitive address parameter in host config --- scripts/post-merge | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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