From 32ac06bd7dc5ec3497114d6e0b83565c1b04121a Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 23 Feb 2004 15:52:17 +0000 Subject: (del_intf) down the network interface when deleting it --- perl-install/standalone/drakconnect | 1 + 1 file changed, 1 insertion(+) (limited to 'perl-install/standalone/drakconnect') 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(); -- cgit v1.2.1