1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Update iiab-remote-on

This commit is contained in:
A Holt 2018-04-29 02:38:00 -04:00 committed by GitHub
parent 0f21da5477
commit dd98f06a7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 enable openvpn@xscenet.service
@ -13,7 +13,7 @@ systemctl start openvpn@xscenet.service
sleep 5
ping -c 2 10.8.0.1
if [ $? -eq 0 ]; then
echo Openvpn successfully started.
echo OpenVPN successfully started.
else
echo Openvpn failed to contact remote server.
echo OpenVPN failed to contact remote server.
fi