From b57ca7b660025db8fd40aca9f103228cb2d9e727 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Mon, 29 Aug 2011 14:55:04 +0200 Subject: [PATCH] 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. --- src/scripts/vpn-watch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.2