mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
13 lines
365 B
Django/Jinja
Executable file
13 lines
365 B
Django/Jinja
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/openvpn_handle ]; then
|
|
rm -f /etc/iiab/openvpn_handle
|
|
fi
|
|
else
|
|
echo $ans > /etc/iiab/openvpn_handle
|
|
fi
|
|
{{ systemctl_program }} restart openvpn@xscenet
|