From 42eed12702568a63e7e2f63e336f4e1ddaa32b65 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Sun, 24 Jul 2005 03:48:05 +0000 Subject: wait a second for ifplugd to be actually killed --- perl-install/network/tools.pm | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install') diff --git a/perl-install/network/tools.pm b/perl-install/network/tools.pm index a1531c64e..378226c42 100644 --- a/perl-install/network/tools.pm +++ b/perl-install/network/tools.pm @@ -94,6 +94,7 @@ sub stop_ifplugd { my ($interface) = @_; my $ifplugd = chomp_(cat_("/var/run/ifplugd.$interface.pid")); $ifplugd and kill(15, $ifplugd); + sleep 1; } sub connected() { gethostbyname("mandrakesoft.com") ? 1 : 0 } -- cgit v1.2.1