summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-10-09 09:27:42 +0000
committerOlivier Blin <oblin@mandriva.org>2004-10-09 09:27:42 +0000
commit06ce90f2c9458a59f7e513ab080e075a8bc2f1a4 (patch)
tree8dfb9211c89e5c32b33a6f6d505e844784712b73
parenta8b9460df873e40a9d070ca67e24deb8e62f1849 (diff)
downloaddrakx-backup-do-not-use-06ce90f2c9458a59f7e513ab080e075a8bc2f1a4.tar
drakx-backup-do-not-use-06ce90f2c9458a59f7e513ab080e075a8bc2f1a4.tar.gz
drakx-backup-do-not-use-06ce90f2c9458a59f7e513ab080e075a8bc2f1a4.tar.bz2
drakx-backup-do-not-use-06ce90f2c9458a59f7e513ab080e075a8bc2f1a4.tar.xz
drakx-backup-do-not-use-06ce90f2c9458a59f7e513ab080e075a8bc2f1a4.zip
(adsl_conf_backend) don't write ifcfg-ppp0 for static/dhcp connections
-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");