vpn-watch: set established check counter back to 10min.

we had raised this to 60min because it has restarted all connections
if one connection was permanently down. Now it try to start only this
one connection again.
This commit is contained in:
Arne Fitzenreiter
2011-08-29 14:55:04 +02:00
parent 7667a59b28
commit b57ca7b660

View File

@@ -31,8 +31,8 @@ while ( $i == 0){
$round++;
# Reset roundcounter after 60 min. To do established check.
if ($round > 59) { $round=0; }
# Reset roundcounter after 10 min. To do established check.
if ($round > 9) { $round=0; }
if (open(FILE, "<${General::swroot}/vpn/config")) { @vpnsettings = <FILE>;
close(FILE);