mirror of
https://github.com/pivpn/pivpn.git
synced 2024-12-18 19:00:15 +00:00
fix(dev-infra): move source to before var ref
move file sourcing above first references to the variables it loads
This commit is contained in:
parent
ab1fe20399
commit
c25e82fc0f
1 changed files with 3 additions and 2 deletions
|
@ -6,12 +6,13 @@ pivpnPERSISTENTKEEPALIVE=""
|
||||||
pivpnDNS2=""
|
pivpnDNS2=""
|
||||||
|
|
||||||
setupVars="/etc/pivpn/wireguard/setupVars.conf"
|
setupVars="/etc/pivpn/wireguard/setupVars.conf"
|
||||||
# shellcheck disable=SC2154
|
|
||||||
userGroup="${install_user}:${install_user}"
|
|
||||||
|
|
||||||
# shellcheck disable=SC1090
|
# shellcheck disable=SC1090
|
||||||
source "${setupVars}"
|
source "${setupVars}"
|
||||||
|
|
||||||
|
# shellcheck disable=SC2154
|
||||||
|
userGroup="${install_user}:${install_user}"
|
||||||
|
|
||||||
### Functions
|
### Functions
|
||||||
err() {
|
err() {
|
||||||
echo "[$(date +'%Y-%m-%dT%H:%M:%S%z')]: $*" >&2
|
echo "[$(date +'%Y-%m-%dT%H:%M:%S%z')]: $*" >&2
|
||||||
|
|
Loading…
Reference in a new issue