diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-23 15:52:17 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-23 15:52:17 +0000 |
commit | 32ac06bd7dc5ec3497114d6e0b83565c1b04121a (patch) | |
tree | ae1ce7b795744bd1586a3c90e36365af9e8ec583 | |
parent | 6287e4f11e89abf82d31cfbd92ca79a315157a53 (diff) | |
download | drakx-32ac06bd7dc5ec3497114d6e0b83565c1b04121a.tar drakx-32ac06bd7dc5ec3497114d6e0b83565c1b04121a.tar.gz drakx-32ac06bd7dc5ec3497114d6e0b83565c1b04121a.tar.bz2 drakx-32ac06bd7dc5ec3497114d6e0b83565c1b04121a.tar.xz drakx-32ac06bd7dc5ec3497114d6e0b83565c1b04121a.zip |
(del_intf) down the network interface when deleting it
-rwxr-xr-x | perl-install/standalone/drakconnect | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 2aadfed92..1992d538e 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -616,6 +616,7 @@ sub del_intf() { data => [ { label => N("Net Device"), val => \$intf2delete, list => [ keys %$intf ], allow_empty_list => 1 } ], post => sub { !$::testing and eval { + system("ifdown $intf2delete"); modules::mergein_conf('/etc/modules.conf'); modules::remove_alias($intf2delete); modules::write_conf(); |