1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Some changes in omr-tracker and post-tracking scripts

This commit is contained in:
Ycarus (Yannick Chabanois) 2024-07-04 10:46:32 +02:00
parent ad1cbe6958
commit 60f552fd68
9 changed files with 157 additions and 144 deletions

View file

@ -320,7 +320,7 @@ _check_master() {
/etc/init.d/unbound restart >/dev/null 2>/dev/null
/etc/init.d/dnsmasq restart >/dev/null 2>/dev/null
}
break
return
}
}
@ -507,7 +507,7 @@ _check_backup() {
/etc/init.d/unbound restart >/dev/null 2>/dev/null
/etc/init.d/dnsmasq restart >/dev/null 2>/dev/null
}
[ "$server_ping" = true ] && break
[ "$server_ping" = true ] && return
}
}