1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 03:32:12 +00:00

Update up_wan

This commit is contained in:
A Holt 2018-08-15 14:15:19 -04:00 committed by GitHub
parent 01c82fdfce
commit 6b67d9e35f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,8 +2,8 @@
# if the wan has recently come up, see if we need to start openvpn
systemctl is-enabled openvpn
if [ $? -eq 0 ]; then
pgrep openvpn
if [ $? -ne 0 ]; then
systemctl start openvpn@xscenet
fi
pgrep openvpn
if [ $? -ne 0 ]; then
systemctl start openvpn@xscenet
fi
fi