1
0
Fork 0
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:
Ycarus (Yannick Chabanois) 2021-03-25 16:36:48 +01:00
parent 8b5816e4f9
commit cd57425370

View file

@ -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