summaryrefslogtreecommitdiffstats
path: root/perl-install/install_steps.pm
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2000-09-21 15:37:57 +0000
committerFrancois Pons <fpons@mandriva.com>2000-09-21 15:37:57 +0000
commit32ed21150619d9d6f413d5be9b59e74001f81732 (patch)
tree3d37671415564b506143cb2d54105919707b81ac /perl-install/install_steps.pm
parent28d4952a757d83f8d90b3d0062f4aa169a399694 (diff)
downloaddrakx-backup-do-not-use-32ed21150619d9d6f413d5be9b59e74001f81732.tar
drakx-backup-do-not-use-32ed21150619d9d6f413d5be9b59e74001f81732.tar.gz
drakx-backup-do-not-use-32ed21150619d9d6f413d5be9b59e74001f81732.tar.bz2
drakx-backup-do-not-use-32ed21150619d9d6f413d5be9b59e74001f81732.tar.xz
drakx-backup-do-not-use-32ed21150619d9d6f413d5be9b59e74001f81732.zip
*** empty log message ***
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r--perl-install/install_steps.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index ca5cd2a2a..eca7b612d 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -843,7 +843,7 @@ sub exitInstall { install_any::unlockCdrom }
sub hasNetwork {
my ($o) = @_;
- $o->{intf} && $o->{netc}{NETWORKING} ne 'false' || $o->{netcnx}{modem};
+ $o->{intf} && $o->{netc}{NETWORKING} ne 'no' || $o->{netcnx}{modem};
}
#------------------------------------------------------------------------------
@@ -855,7 +855,7 @@ sub upNetwork {
}
modules::write_conf($o->{prefix});
- if ($o->{intf} && $o->{netc}{NETWORKING} ne 'false') {
+ if ($o->{intf} && $o->{netc}{NETWORKING} ne 'no') {
network::up_it($o->{prefix}, $o->{intf});
} elsif (!$pppAvoided && $o->{netcnx}{modem} && !$o->{netcnx}{modem}{isUp}) {
eval { modules::load_multi(qw(serial ppp bsd_comp ppp_deflate)) };
@@ -873,7 +873,7 @@ sub downNetwork {
my ($o, $pppOnly) = @_;
modules::write_conf($o->{prefix});
- if (!$pppOnly && $o->{intf} && $o->{netc}{NETWORKING} ne 'false') {
+ if (!$pppOnly && $o->{intf} && $o->{netc}{NETWORKING} ne 'no') {
network::down_it($o->{prefix}, $o->{intf});
} elsif ($o->{netcnx}{modem} && $o->{netcnx}{modem}{isUp}) {
run_program::rooted($o->{prefix}, "ifdown", "ppp0");