summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/network/adsl.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index 315b7eacc..7b1566b92 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -352,7 +352,8 @@ user "$adsl->{login}"
ONBOOT=no
TYPE=$kind
METRIC=$metric
-));
+)) unless member($adsl_type, qw(manual dhcp));
+
#- remove file used with sagem for dhcp/static connections
unlink("$::prefix/etc/sysconfig/network-scripts/ifcfg-sagem");