mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
14 lines
342 B
Text
14 lines
342 B
Text
|
#!/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/xsce/handle ]; then
|
||
|
rm -f /etc/xsce/handle
|
||
|
fi
|
||
|
else
|
||
|
echo $ans > /etc/xsce/handle
|
||
|
fi
|
||
|
{{ systemctl_program }} restart openvpn@xscenet
|