mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +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
|
echo
|
||||||
read -p "what identifying handle would you like to use? " ans
|
read -p "what identifying handle would you like to use? " ans
|
||||||
if [ "$ans" == "" ]; then
|
if [ "$ans" == "" ]; then
|
||||||
if [ -f /etc/iiab/handle ]; then
|
if [ -f /etc/iiab/openvpn_handle ]; then
|
||||||
rm -f /etc/iiab/handle
|
rm -f /etc/iiab/openvpn_handle
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
echo $ans > /etc/iiab/handle
|
echo $ans > /etc/iiab/openvpn_handle
|
||||||
fi
|
fi
|
||||||
{{ systemctl_program }} restart openvpn@xscenet
|
{{ systemctl_program }} restart openvpn@xscenet
|
||||||
|
|
Loading…
Reference in a new issue