mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-14 19:41:51 +00:00
Force reload OpenVPN OMR when errors
This commit is contained in:
parent
e801d225ac
commit
afca835bdc
1 changed files with 1 additions and 0 deletions
|
@ -812,6 +812,7 @@ if [ "$OMR_TRACKER_STATUS" = "ERROR" ] || ([ "$OMR_TRACKER_INTERFACE" != "omrvpn
|
|||
commit openvpn
|
||||
EOF
|
||||
fi
|
||||
[ -z "VPN_BASE_INTF" ] && VPN_BASE_INTF="omr"
|
||||
/etc/init.d/openvpn restart $VPN_BASE_INTF 2>&1 >/dev/null
|
||||
fi
|
||||
config_load openmptcprouter
|
||||
|
|
Loading…
Reference in a new issue