diff options
author | Olivier Blin <oblin@mandriva.org> | 2005-07-26 08:10:07 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2005-07-26 08:10:07 +0000 |
commit | 28a0ab1d1718477f879e4e3f63296eeb6f6d0af1 (patch) | |
tree | dd135f976262b3abcadef7d24306900e6fb594e4 /perl-install/network/network.pm | |
parent | d4a274e5c9bd23a3525122dd46423a154561cd6c (diff) | |
download | drakx-28a0ab1d1718477f879e4e3f63296eeb6f6d0af1.tar drakx-28a0ab1d1718477f879e4e3f63296eeb6f6d0af1.tar.gz drakx-28a0ab1d1718477f879e4e3f63296eeb6f6d0af1.tar.bz2 drakx-28a0ab1d1718477f879e4e3f63296eeb6f6d0af1.tar.xz drakx-28a0ab1d1718477f879e4e3f63296eeb6f6d0af1.zip |
kill(signal, <empty string>) sends the signal to the calling process, avoid it
Diffstat (limited to 'perl-install/network/network.pm')
-rw-r--r-- | perl-install/network/network.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/network/network.pm b/perl-install/network/network.pm index 1701c192e..e72da0e55 100644 --- a/perl-install/network/network.pm +++ b/perl-install/network/network.pm @@ -577,7 +577,9 @@ sub configure_network { any { $_->{BOOTPROTO} =~ /^(pump|bootp)$/ } values %{$net->{ifcfg}} and $in->do_pkgs->install('pump'); } - kill(1, `pidof -x net_applet`); #- make net_applet reload the configuration + + #- make net_applet reload the configuration + my $pid = chomp_(`pidof -x net_applet`) and kill 1, $pid; } 1; |