summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-04-30 17:22:08 +0000
committerOlivier Blin <oblin@mandriva.com>2008-04-30 17:22:08 +0000
commit5d181e988f052ecc49627eae13e6fac0a8d204cb (patch)
tree088f8fafd3d5a62ae329014e90194943d2f8239b
parentb6c7a14f9dc63a8ca0a145d72dde4a59b03e16fd (diff)
downloaddrakx-net-5d181e988f052ecc49627eae13e6fac0a8d204cb.tar
drakx-net-5d181e988f052ecc49627eae13e6fac0a8d204cb.tar.gz
drakx-net-5d181e988f052ecc49627eae13e6fac0a8d204cb.tar.bz2
drakx-net-5d181e988f052ecc49627eae13e6fac0a8d204cb.tar.xz
drakx-net-5d181e988f052ecc49627eae13e6fac0a8d204cb.zip
do not disable ONBOOT for PCMCIA interfaces (ifplugd is used by default)
-rw-r--r--lib/network/network.pm2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/network/network.pm b/lib/network/network.pm
index b90018e..d8ca2df 100644
--- a/lib/network/network.pm
+++ b/lib/network/network.pm
@@ -8,7 +8,6 @@ use strict;
use Socket;
use common;
-use detect_devices;
use run_program;
use network::tools;
use vars qw(@ISA @EXPORT);
@@ -216,7 +215,6 @@ sub write_interface_conf {
$intf->{HWADDR} &&= $mac_address; #- set HWADDR to MAC address if required
update_broadcast_and_network($intf);
- $intf->{ONBOOT} ||= bool2yesno(!member($intf->{DEVICE}, map { $_->{device} } detect_devices::pcmcia_probe()));
defined($intf->{METRIC}) or $intf->{METRIC} = network::tools::get_default_metric(network::tools::get_interface_type($intf)),
$intf->{BOOTPROTO} =~ s/dhcp.*/dhcp/;