mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
Update iiab-remote-off
This commit is contained in:
parent
440b21102b
commit
0f21da5477
1 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
# do nothing if it is not installed
|
||||
which openvpn
|
||||
if [ $? -ne 0 ]; then
|
||||
echo Cannot find the openvpn program.
|
||||
echo Cannot find the OpenVPN program (openvpn).
|
||||
exit 1
|
||||
fi
|
||||
systemctl disable openvpn@xscenet.service
|
||||
|
@ -13,7 +13,7 @@ systemctl stop openvpn@xscenet.service
|
|||
sleep 5
|
||||
ps -e|grep vpn
|
||||
if [ $? -eq 0 ]; then
|
||||
echo Openvpn failed to stop.
|
||||
echo OpenVPN failed to stop.
|
||||
else
|
||||
echo Successfully stopped and disabled Openvpn
|
||||
echo Successfully stopped and disabled OpenVPN.
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue