mirror of
https://github.com/haugene/docker-transmission-openvpn.git
synced 2025-08-07 14:57:20 +02:00
* Add feature NORDVPN_SERVER, to download directly server's config. * define vars as empty to avoid unbound variables * restore shebang, define default values for NORDVPN_*
13 lines
198 B
Bash
13 lines
198 B
Bash
#!/bin/bash
|
|
|
|
DEBUG=${DEBUG:-"false"}
|
|
[[ ${DEBUG} != "false" ]] && set -x || true
|
|
|
|
log() {
|
|
printf "%b\n" "$*" >/dev/stderr
|
|
}
|
|
|
|
fatal_error() {
|
|
printf "\e[41mERROR:\033[0m %b\n" "$*" >&2
|
|
exit 1
|
|
} |