]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - src/scripts/vpn-watch
vpn-watch: set established check counter back to 10min.
[people/pmueller/ipfire-2.x.git] / src / scripts / vpn-watch
index 563c14c47d988a706556eae67782ebbc644fe873..7eae873cea81f1820920a058cdd85a895f265dac 100755 (executable)
@@ -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);