summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2005-09-20 11:05:36 +0000
committerOlivier Blin <oblin@mandriva.org>2005-09-20 11:05:36 +0000
commit0ef8e4b4ccc56e36924ed716b64ef9ba800c0130 (patch)
tree6adfed6ba015bd3079acd9884ed7d6950801fe8f
parent52220888101de9734ce3092f3fb6776c0a5c486a (diff)
downloaddrakx-0ef8e4b4ccc56e36924ed716b64ef9ba800c0130.tar
drakx-0ef8e4b4ccc56e36924ed716b64ef9ba800c0130.tar.gz
drakx-0ef8e4b4ccc56e36924ed716b64ef9ba800c0130.tar.bz2
drakx-0ef8e4b4ccc56e36924ed716b64ef9ba800c0130.tar.xz
drakx-0ef8e4b4ccc56e36924ed716b64ef9ba800c0130.zip
fix dvb crash during install
-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 64e8f15ee..6f2f79f8b 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -902,6 +902,7 @@ If you do not know it, keep the preselected type."),
lan_intf =>
{
pre => sub {
+ require network::ethernet;
$onboot = $ethntf->{ONBOOT} ? $ethntf->{ONBOOT} =~ /yes/ : bool2yesno(!member($ethntf->{DEVICE},
map { $_->{device} } detect_devices::pcmcia_probe()));
$needhostname = $ethntf->{NEEDHOSTNAME} !~ /no/;