diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-05 12:01:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-05 12:01:58 +0000 |
commit | 606d4a0d71678f74bb52d5e969a092e6dc8b2364 (patch) | |
tree | d085dbbd50215483c34f46b22405db83ca48f32f | |
parent | 0d9a2ced4fe0b2356cf3e0049ee5b5a1eb25e1a6 (diff) | |
download | drakx-606d4a0d71678f74bb52d5e969a092e6dc8b2364.tar drakx-606d4a0d71678f74bb52d5e969a092e6dc8b2364.tar.gz drakx-606d4a0d71678f74bb52d5e969a092e6dc8b2364.tar.bz2 drakx-606d4a0d71678f74bb52d5e969a092e6dc8b2364.tar.xz drakx-606d4a0d71678f74bb52d5e969a092e6dc8b2364.zip |
do not remve network interfaces in --testing mode
-rwxr-xr-x | perl-install/standalone/drakconnect | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/standalone/drakconnect b/perl-install/standalone/drakconnect index 5a42e5a9c..620158652 100755 --- a/perl-install/standalone/drakconnect +++ b/perl-install/standalone/drakconnect @@ -219,7 +219,7 @@ sub del_intf() { name => N("Select the network interface to remove:"), data => [ { label => N("Net Device"), val => \$intf, list => [ detect_devices::getNet() ], allow_empty_list => 1 } ], post => sub { - eval { + !$::testing and eval { modules::mergein_conf('/etc/modules.conf'); modules::remove_alias($intf); modules::write_conf(); |