fix source path and improve systemd directivees
This commit is contained in:
@@ -7,7 +7,7 @@ diyvpn_cfg="${DIYVPN_CFG:-$HOME/.config/diyvpn/servers}"
|
||||
add() {
|
||||
local name listen_address idle_timeout hostname port username identityfile
|
||||
|
||||
read -rp "Server name [e.g. foobar] [required] : " name
|
||||
read -rp "Server name [e.g. vps1] [required] : " name
|
||||
if [[ -d "$diyvpn_cfg/$name" ]]; then
|
||||
echo "Warning: $diyvpn_cfg/$name already exists. Exising files will be overwritten. [Ctrl+C to quit]"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user