Restructure start script, extract provider specific scripts and add support for fetching configs from URL

This commit is contained in:
Kristian Haugene
2020-08-23 19:45:05 +02:00
parent ca79ee1e13
commit 5a511d6d9e
6 changed files with 120 additions and 90 deletions

View File

@@ -110,7 +110,7 @@ download_hostname() {
log "Downloading config: ${ovpnName}"
log "Downloading from: ${nordvpn_cdn}"
curl ${nordvpn_cdn} -o "${ovpnName}"
curl -sSL ${nordvpn_cdn} -o "${ovpnName}"
}
update_hostname() {
log "Checking line endings"