summaryrefslogtreecommitdiffstats
path: root/perl-install/network.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-07-23 22:15:54 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-07-23 22:15:54 +0000
commitd97b226e3049c136401416aaceaba39587cd0605 (patch)
treefa094813196f6d3f8615c3f999d116cf1566ca08 /perl-install/network.pm
parentf01f53d988172e9d5bf52e969dd404dc48458000 (diff)
downloaddrakx-backup-do-not-use-d97b226e3049c136401416aaceaba39587cd0605.tar
drakx-backup-do-not-use-d97b226e3049c136401416aaceaba39587cd0605.tar.gz
drakx-backup-do-not-use-d97b226e3049c136401416aaceaba39587cd0605.tar.bz2
drakx-backup-do-not-use-d97b226e3049c136401416aaceaba39587cd0605.tar.xz
drakx-backup-do-not-use-d97b226e3049c136401416aaceaba39587cd0605.zip
no_comment
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r--perl-install/network.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network.pm b/perl-install/network.pm
index 7c5ca5056..2c118222a 100644
--- a/perl-install/network.pm
+++ b/perl-install/network.pm
@@ -103,7 +103,7 @@ sub write_interface_conf {
add2hash($intf, {
BROADCAST => join('.', mapn { int $_[0] | ~int $_[1] & 255 } \@ip, \@mask),
NETWORK => join('.', mapn { int $_[0] & $_[1] } \@ip, \@mask),
- ONBOOT => bool2yesno(!$::o->{pcmcia}),
+ ONBOOT => bool2yesno(!member($intf->{DEVICE}, map { $_->{device} } detect_devices::probeall())),
});
setVarsInSh($file, $intf, qw(DEVICE BOOTPROTO IPADDR NETMASK NETWORK BROADCAST ONBOOT));
}