diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-07-23 22:15:54 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-07-23 22:15:54 +0000 |
commit | d97b226e3049c136401416aaceaba39587cd0605 (patch) | |
tree | fa094813196f6d3f8615c3f999d116cf1566ca08 /perl-install/network.pm | |
parent | f01f53d988172e9d5bf52e969dd404dc48458000 (diff) | |
download | drakx-d97b226e3049c136401416aaceaba39587cd0605.tar drakx-d97b226e3049c136401416aaceaba39587cd0605.tar.gz drakx-d97b226e3049c136401416aaceaba39587cd0605.tar.bz2 drakx-d97b226e3049c136401416aaceaba39587cd0605.tar.xz drakx-d97b226e3049c136401416aaceaba39587cd0605.zip |
no_comment
Diffstat (limited to 'perl-install/network.pm')
-rw-r--r-- | perl-install/network.pm | 2 |
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)); } |