Add killing connectd at connscheduler hangup

This commit is contained in:
Arne Fitzenreiter
2008-10-18 12:52:17 +02:00
parent 7bfd1f0b7e
commit f8036c8710

View 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");