diff options
author | Damien Chaumette <dchaumette@mandriva.com> | 2003-09-09 16:23:03 +0000 |
---|---|---|
committer | Damien Chaumette <dchaumette@mandriva.com> | 2003-09-09 16:23:03 +0000 |
commit | 411564f5b39a3c21a4a2dc81b3783ccf2c99fb97 (patch) | |
tree | 8ded481a95d3066fbf3b6dac847f28bcd496ab93 | |
parent | 8a37bd2d08472a8798a28881633855552bf1b006 (diff) | |
download | drakx-411564f5b39a3c21a4a2dc81b3783ccf2c99fb97.tar drakx-411564f5b39a3c21a4a2dc81b3783ccf2c99fb97.tar.gz drakx-411564f5b39a3c21a4a2dc81b3783ccf2c99fb97.tar.bz2 drakx-411564f5b39a3c21a4a2dc81b3783ccf2c99fb97.tar.xz drakx-411564f5b39a3c21a4a2dc81b3783ccf2c99fb97.zip |
profile is 'default' if no configuration file found
-rw-r--r-- | perl-install/network/netconnect.pm | 2 |
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); } |