summaryrefslogtreecommitdiffstats
path: root/mdk-stage1
diff options
context:
space:
mode:
Diffstat (limited to 'mdk-stage1')
-rw-r--r--mdk-stage1/adsl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/mdk-stage1/adsl.c b/mdk-stage1/adsl.c
index ffcb654f2..74838aa92 100644
--- a/mdk-stage1/adsl.c
+++ b/mdk-stage1/adsl.c
@@ -102,8 +102,11 @@ static enum return_type adsl_connect(char * net_device, char * username, char *
}
if (status != RETURN_OK) {
- kill(ppp_pid, SIGTERM);
log_message("PPP: could not connect");
+ kill(ppp_pid, SIGTERM);
+ sleep(1);
+ kill(ppp_pid, SIGKILL);
+ sleep(1);
}
return status;
}