summaryrefslogtreecommitdiffstats
path: root/lib/network/network.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/network/network.pm')
-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/;