summaryrefslogtreecommitdiffstats
path: root/perl-install/network
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-12 06:51:22 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-12 06:51:22 +0000
commit78a9b46b92964aae8495353a47e3f3ff7da726eb (patch)
treeb6ddf68dda6eb111a75b2f63a92757b3dbcd1e60 /perl-install/network
parentbec20a1efbfe1d2948a5ef3fede0a3ff29c8a3cb (diff)
downloaddrakx-78a9b46b92964aae8495353a47e3f3ff7da726eb.tar
drakx-78a9b46b92964aae8495353a47e3f3ff7da726eb.tar.gz
drakx-78a9b46b92964aae8495353a47e3f3ff7da726eb.tar.bz2
drakx-78a9b46b92964aae8495353a47e3f3ff7da726eb.tar.xz
drakx-78a9b46b92964aae8495353a47e3f3ff7da726eb.zip
set NET_DEVICE and NET_INTERFACE for lan and adsl dhcp/manual connections
Diffstat (limited to 'perl-install/network')
-rw-r--r--perl-install/network/netconnect.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index aaaab6792..572b2af9c 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -949,6 +949,7 @@ notation (for example, 1.2.3.4).")),
$ethntf->{NEEDHOSTNAME} = bool2yesno($needhostname);
$ethntf->{MII_NOT_SUPPORTED} = bool2yesno(!$hotplug);
$ethntf->{HWADDR} = $track_network_id or delete $ethntf->{HWADDR};
+ $netc->{$_} = $ethntf->{DEVICE} foreach qw(NET_DEVICE NET_INTERFACE);
$in->do_pkgs->install($netc->{dhcp_client}) if $auto_ip;
return $is_wireless ? "wireless" : "static_hostname";
},