diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-23 15:55:09 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-02-23 15:55:09 +0000 |
commit | 0cb2e4c1870c08cc118d1269cffc7082a14c81fb (patch) | |
tree | a3e0ea0f2a83f1f8330fbbc5c78cc864308b7e64 /perl-install/network | |
parent | a5771fcb216b0e99c1d2451bb040ea9e231f34f6 (diff) | |
download | drakx-backup-do-not-use-0cb2e4c1870c08cc118d1269cffc7082a14c81fb.tar drakx-backup-do-not-use-0cb2e4c1870c08cc118d1269cffc7082a14c81fb.tar.gz drakx-backup-do-not-use-0cb2e4c1870c08cc118d1269cffc7082a14c81fb.tar.bz2 drakx-backup-do-not-use-0cb2e4c1870c08cc118d1269cffc7082a14c81fb.tar.xz drakx-backup-do-not-use-0cb2e4c1870c08cc118d1269cffc7082a14c81fb.zip |
write ethX aliases and ifup/ifdown scripts when configuring a LAN connection
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/ethernet.pm | 1 | ||||
-rw-r--r-- | perl-install/network/netconnect.pm | 1 |
2 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/ethernet.pm b/perl-install/network/ethernet.pm index 4dd7dfaca..fc53e28a5 100644 --- a/perl-install/network/ethernet.pm +++ b/perl-install/network/ethernet.pm @@ -13,7 +13,6 @@ use vars qw(@ISA @EXPORT); @ISA = qw(Exporter); @EXPORT = qw(conf_network_card_backend); -# FIXME: unused code to merge in into wizard sub write_ether_conf { my ($in, $netcnx, $netc, $intf) = @_; configureNetwork2($in, $::prefix, $netc, $intf); 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}); |