post-merge: allow case-insensitive address parameter in host config
This commit is contained in:
		
					parent
					
						
							
								0b0e68172c
							
						
					
				
			
			
				commit
				
					
						0dc1fc7be3
					
				
			
		
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
					@ -20,7 +20,7 @@ sed -i '/^ConnectTo/d' $TINCCFG
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for HOST in hosts/*; do
 | 
					for HOST in hosts/*; do
 | 
				
			||||||
  # skip hosts without address
 | 
					  # skip hosts without address
 | 
				
			||||||
  grep -q '^Address' -- "$HOST" || continue
 | 
					  grep -iq '^Address' -- "$HOST" || continue
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  echo "ConnectTo = ${HOST##*/}" >> $TINCCFG
 | 
					  echo "ConnectTo = ${HOST##*/}" >> $TINCCFG
 | 
				
			||||||
done
 | 
					done
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue