X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=blobdiff_plain;f=src%2Fscripts%2Fconnscheduler;fp=src%2Fscripts%2Fconnscheduler;h=bc4d4eb6562302b5fc60c2600604bf3226213e5a;hp=f513cf45d42e8f717f93c814013c05981065a28a;hb=f8036c8710bf8245d18865fe4f7886e4b2a80612;hpb=7bfd1f0b7efaa6e12f1d1cf84406c355fe6ed807 diff --git a/src/scripts/connscheduler b/src/scripts/connscheduler index f513cf45d4..bc4d4eb656 100644 --- a/src/scripts/connscheduler +++ b/src/scripts/connscheduler @@ -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");