summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-07-24 03:48:05 +0000
committerOlivier Blin <oblin@mandriva.org>2005-07-24 03:48:05 +0000
commit42eed12702568a63e7e2f63e336f4e1ddaa32b65 (patch)
tree1e645302ecf78fabbb5d753c1a42d5c5323c9a72 /perl-install
parent249bb37fec19511101643f85cf03123e072d47b0 (diff)
downloaddrakx-42eed12702568a63e7e2f63e336f4e1ddaa32b65.tar
drakx-42eed12702568a63e7e2f63e336f4e1ddaa32b65.tar.gz
drakx-42eed12702568a63e7e2f63e336f4e1ddaa32b65.tar.bz2
drakx-42eed12702568a63e7e2f63e336f4e1ddaa32b65.tar.xz
drakx-42eed12702568a63e7e2f63e336f4e1ddaa32b65.zip
wait a second for ifplugd to be actually killed
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/tools.pm1
1 files changed, 1 insertions, 0 deletions
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 }