summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2003-09-09 16:23:03 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2003-09-09 16:23:03 +0000
commit411564f5b39a3c21a4a2dc81b3783ccf2c99fb97 (patch)
tree8ded481a95d3066fbf3b6dac847f28bcd496ab93 /perl-install
parent8a37bd2d08472a8798a28881633855552bf1b006 (diff)
downloaddrakx-backup-do-not-use-411564f5b39a3c21a4a2dc81b3783ccf2c99fb97.tar
drakx-backup-do-not-use-411564f5b39a3c21a4a2dc81b3783ccf2c99fb97.tar.gz
drakx-backup-do-not-use-411564f5b39a3c21a4a2dc81b3783ccf2c99fb97.tar.bz2
drakx-backup-do-not-use-411564f5b39a3c21a4a2dc81b3783ccf2c99fb97.tar.xz
drakx-backup-do-not-use-411564f5b39a3c21a4a2dc81b3783ccf2c99fb97.zip
profile is 'default' if no configuration file found
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/netconnect.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 40fa26f6c..bd7d45ecc 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -307,7 +307,7 @@ sub load_conf {
my ($netcnx, $netc, $intf) = @_;
my $current = { getVarsFromSh("$prefix/etc/netprofile/current") };
- $netcnx->{PROFILE} = $current->{PROFILE};
+ $netcnx->{PROFILE} = $current->{PROFILE} || 'default';
network::read_all_conf($prefix, $netc, $intf);
}