post-merge: allow case-insensitive address parameter in host config
This commit is contained in:
parent
0b0e68172c
commit
0dc1fc7be3
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue