]> git.ipfire.org Git - ipfire-2.x.git/commitdiff
Add killing connectd at connscheduler hangup
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 18 Oct 2008 10:52:17 +0000 (12:52 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 18 Oct 2008 10:52:17 +0000 (12:52 +0200)
src/scripts/connscheduler

index f513cf45d42e8f717f93c814013c05981065a28a..bc4d4eb6562302b5fc60c2600604bf3226213e5a 100644 (file)
@@ -63,6 +63,9 @@ exit 0;
 #
 sub hangup
 {
+  # Kill connectd if running to prevent redial
+  system('/bin/killall', 'connectd');
+
   unless ( -e "${General::swroot}/red/active" )
   {
     &General::log("ConnSched already disconnected");