mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
/etc/iiab/handle -> /etc/iiab/openvpn_handle
This commit is contained in:
parent
0174be0969
commit
6c0fc28ef8
1 changed files with 3 additions and 3 deletions
|
@ -4,10 +4,10 @@ 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
|
||||
if [ -f /etc/iiab/openvpn_handle ]; then
|
||||
rm -f /etc/iiab/openvpn_handle
|
||||
fi
|
||||
else
|
||||
echo $ans > /etc/iiab/handle
|
||||
echo $ans > /etc/iiab/openvpn_handle
|
||||
fi
|
||||
{{ systemctl_program }} restart openvpn@xscenet
|
||||
|
|
Loading…
Reference in a new issue