mirror of
https://github.com/iiab/iiab.git
synced 2025-02-15 04:32:11 +00:00
Update up_wan
This commit is contained in:
parent
50f98aa9a7
commit
9621cf6c4e
1 changed files with 4 additions and 1 deletions
|
@ -1,5 +1,8 @@
|
|||
#!/bin/bash
|
||||
# if the wan has recently come up, see if we need to start openvpn
|
||||
# Not really used as of August 2018, but perhaps can be revived for CentOS etc
|
||||
|
||||
# If the wan has recently come up, see if we need to start openvpn
|
||||
|
||||
systemctl is-enabled openvpn
|
||||
if [ $? -eq 0 ]; then
|
||||
pgrep openvpn
|
||||
|
|
Loading…
Reference in a new issue