post-merge: allow case-insensitive address parameter in host config

This commit is contained in:
Martin Weinelt 2015-04-13 02:35:52 +02:00
parent 0b0e68172c
commit 0dc1fc7be3

View file

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