1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 19:52:06 +00:00
iiab/roles/openvpn/templates/iiab-handle
georgejhunt 4462652deb Iiab (#68)
* xs- goes to iiab-

* more xs->iiab

* sysconfig was forgotten

* hyphen vs underscore i roles network templates

* bulk sed on pgsql-xs

* create links for old script names

* missed named-xs -> named-iiab

* squid-xs ->squid-iiab

* misspelled squid-iiab.conf.j2
2017-06-27 19:53:13 -07:00

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