mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +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
|
#!/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
|
systemctl is-enabled openvpn
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
pgrep openvpn
|
pgrep openvpn
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue