summaryrefslogtreecommitdiffstats
path: root/perl-install/network/netconnect.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-02-23 15:55:09 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-02-23 15:55:09 +0000
commit0cb2e4c1870c08cc118d1269cffc7082a14c81fb (patch)
treea3e0ea0f2a83f1f8330fbbc5c78cc864308b7e64 /perl-install/network/netconnect.pm
parenta5771fcb216b0e99c1d2451bb040ea9e231f34f6 (diff)
downloaddrakx-0cb2e4c1870c08cc118d1269cffc7082a14c81fb.tar
drakx-0cb2e4c1870c08cc118d1269cffc7082a14c81fb.tar.gz
drakx-0cb2e4c1870c08cc118d1269cffc7082a14c81fb.tar.bz2
drakx-0cb2e4c1870c08cc118d1269cffc7082a14c81fb.tar.xz
drakx-0cb2e4c1870c08cc118d1269cffc7082a14c81fb.zip
write ethX aliases and ifup/ifdown scripts when configuring a LAN connection
Diffstat (limited to 'perl-install/network/netconnect.pm')
-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 72ee7810d..8033b53a7 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -954,6 +954,7 @@ I cannot set up this connection type.")), return;
static_hostname =>
{
pre => sub {
+ network::ethernet::write_ether_conf($in, $netcnx, $netc, $intf) if $netcnx->{type} = 'lan';
if ($ethntf->{IPADDR}) {
$netc->{dnsServer} ||= dns($ethntf->{IPADDR});
$gateway_ex = gateway($ethntf->{IPADDR});