Compare commits
	
		
			No commits in common. "4f80ad381a665ff02635b0d64c4c1654303f377a" and "c1300f968dc7784db47322160145083ff4ebae80" have entirely different histories.
		
	
	
		
			4f80ad381a
			...
			c1300f968d
		
	
		
| @ -1,14 +0,0 @@ | |||||||
| #!/bin/bash |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| SERVERS="$(curl -sS https://api.mullvad.net/www/relays/all/ | |  | ||||||
|     jq -jr '.[] | .hostname, ",", .city_code, ",", .type, ",", .provider, "\n"' | |  | ||||||
|     grep wireguard)" |  | ||||||
| 
 |  | ||||||
| for LINE in $SERVERS ; do |  | ||||||
|     hostname="$(echo $LINE | awk -F, '{print $1}')" |  | ||||||
|     city="$(echo $LINE | awk -F, '{print $2}')" |  | ||||||
|     provider="$(echo $LINE | awk -F, '{print $4}')" |  | ||||||
|     short="$(echo $hostname | awk -F'-' '{print $1}')" |  | ||||||
|     echo mv mullvad-$short.conf $short-$city-$provider.conf |  | ||||||
| done |  | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user