mirror of
https://github.com/juanfont/headscale.git
synced 2025-03-13 07:00:06 -04:00
print wg version for reference
This commit is contained in:
parent
8e47d19273
commit
dbbb42490d
@ -30,6 +30,9 @@ regions:
|
||||
EOF
|
||||
)
|
||||
|
||||
wg_version=$(wg --version || (echo "wg command not found. Please install wireguard and try again" && exit 1))
|
||||
echo "Using wireguard version: $wg_version"
|
||||
|
||||
umask 077
|
||||
mkdir -p base/secrets/
|
||||
[ ! -e base/secrets/private-key ] && (
|
||||
|
Loading…
x
Reference in New Issue
Block a user