diff options
-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); } |