mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Set again gre tunnel if down
This commit is contained in:
parent
8b5816e4f9
commit
cd57425370
1 changed files with 3 additions and 0 deletions
|
@ -42,5 +42,8 @@ while true; do
|
|||
server_ping=false
|
||||
config_load network
|
||||
config_foreach _ping_tunnel interface
|
||||
if [ "$server_ping" = false ]; then
|
||||
/etc/init.d/openmptcprouter-vps set_gre_tunnel 2>&1 >/dev/null
|
||||
fi
|
||||
sleep "${interval}"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue