From 5d181e988f052ecc49627eae13e6fac0a8d204cb Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 30 Apr 2008 17:22:08 +0000 Subject: do not disable ONBOOT for PCMCIA interfaces (ifplugd is used by default) --- lib/network/network.pm | 2 -- 1 file changed, 2 deletions(-) (limited to 'lib') 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/; -- cgit v1.2.1