mirror of
https://github.com/pcvolkmer/docker-wireguard-boringtun.git
synced 2025-07-05 00:32:55 +00:00
Change configuration creation by adding init command
This commit is contained in:
@ -4,11 +4,13 @@
|
||||
rm *.conf 2>/dev/null
|
||||
rm *-client_*.png 2>/dev/null
|
||||
|
||||
echo "Create configuration files"
|
||||
|
||||
while [[ -z $DEVICE ]]; do
|
||||
echo -n "Device (eg tun0): "
|
||||
read DEVICE
|
||||
done
|
||||
echo " - Writing config to file $DEVICE.conf"
|
||||
echo " - Writing server config to file $DEVICE.conf"
|
||||
|
||||
while [[ -z $SERVER_HOST ]]; do
|
||||
echo -n "Endpoint hostname: "
|
||||
|
Reference in New Issue
Block a user