From 78a9b46b92964aae8495353a47e3f3ff7da726eb Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 12 Aug 2004 06:51:22 +0000 Subject: set NET_DEVICE and NET_INTERFACE for lan and adsl dhcp/manual connections --- perl-install/network/netconnect.pm | 1 + 1 file changed, 1 insertion(+) 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"; }, -- cgit v1.2.1