From: Arne Fitzenreiter Date: Mon, 29 Aug 2011 12:55:04 +0000 (+0200) Subject: vpn-watch: set established check counter back to 10min. X-Git-Tag: v2.9-core53~38 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b57ca7b660025db8fd40aca9f103228cb2d9e727;p=people%2Fstevee%2Fipfire-2.x.git 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. --- diff --git a/src/scripts/vpn-watch b/src/scripts/vpn-watch index 563c14c47d..7eae873cea 100755 --- a/src/scripts/vpn-watch +++ b/src/scripts/vpn-watch @@ -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 = ; close(FILE);