mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
a4fb89ba35
* keep the xscenet url * leave the amazon vpn called xscenet, and the service that connectes to it * extra tab character * the vars/default_vars.yml takes precedence over roles/openvpn/defaults/main.yml
13 lines
342 B
Bash
Executable file
13 lines
342 B
Bash
Executable file
#!/bin/bash
|
|
# script to write a handle file that identifies the openvpn client to server
|
|
echo
|
|
echo
|
|
read -p "what identifying handle would you like to use? " ans
|
|
if [ "$ans" == "" ]; then
|
|
if [ -f /etc/iiab/handle ]; then
|
|
rm -f /etc/iiab/handle
|
|
fi
|
|
else
|
|
echo $ans > /etc/iiab/handle
|
|
fi
|
|
{{ systemctl_program }} restart openvpn@xscenet
|