summaryrefslogtreecommitdiffstats
path: root/perl-install/modules.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>1999-09-05 13:59:44 +0000
committerPascal Rigaux <pixel@mandriva.com>1999-09-05 13:59:44 +0000
commitdb6d38f52ab7043babff21a8772c5cb3f481dd37 (patch)
tree5cdbcf9f7818729e81449322c089679a78b69d1e /perl-install/modules.pm
parentb2dcc1f05939631e7583740a36f3c41c87235639 (diff)
downloaddrakx-db6d38f52ab7043babff21a8772c5cb3f481dd37.tar
drakx-db6d38f52ab7043babff21a8772c5cb3f481dd37.tar.gz
drakx-db6d38f52ab7043babff21a8772c5cb3f481dd37.tar.bz2
drakx-db6d38f52ab7043babff21a8772c5cb3f481dd37.tar.xz
drakx-db6d38f52ab7043babff21a8772c5cb3f481dd37.zip
no_comment
Diffstat (limited to 'perl-install/modules.pm')
-rw-r--r--perl-install/modules.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/perl-install/modules.pm b/perl-install/modules.pm
index 594e07f9a..2117c580c 100644
--- a/perl-install/modules.pm
+++ b/perl-install/modules.pm
@@ -327,7 +327,12 @@ sub read_conf($;$) {
sub write_conf {
my ($file) = @_;
- my (undef, %written) = read_conf($file);
+ my %written = read_conf($file);
+
+ my %net = detect_devices::net2module();
+ while (my ($k, $v) = each %net) {
+ $conf{$k}{alias} ||= $v;
+ }
local *F;
open F, ">> $file" or die("cannot write module config file $file: $!\n");