diff options
author | Francois Pons <fpons@mandriva.com> | 2000-09-06 16:33:19 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2000-09-06 16:33:19 +0000 |
commit | ad155d2e80428efae26faff9ef207d19482a6a8d (patch) | |
tree | 642982e97a7bae91e3009df97216b5368f4aa4fb /perl-install/install_steps.pm | |
parent | a969c926bdaedfef55b2927d9e71fb9ab8ee2abd (diff) | |
download | drakx-backup-do-not-use-ad155d2e80428efae26faff9ef207d19482a6a8d.tar drakx-backup-do-not-use-ad155d2e80428efae26faff9ef207d19482a6a8d.tar.gz drakx-backup-do-not-use-ad155d2e80428efae26faff9ef207d19482a6a8d.tar.bz2 drakx-backup-do-not-use-ad155d2e80428efae26faff9ef207d19482a6a8d.tar.xz drakx-backup-do-not-use-ad155d2e80428efae26faff9ef207d19482a6a8d.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 132930ecb..8cde0e12b 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -838,7 +838,7 @@ sub exitInstall { install_any::unlockCdrom } sub hasNetwork { my ($o) = @_; - $o->{intf} && $o->{netc}{NETWORKING} ne 'false' || $o->{modem}; + $o->{intf} && $o->{netc}{NETWORKING} ne 'false' || $o->{netcnx}{modem}; } #------------------------------------------------------------------------------ @@ -852,11 +852,11 @@ sub upNetwork { modules::write_conf($o->{prefix}); if ($o->{intf} && $o->{netc}{NETWORKING} ne 'false') { network::up_it($o->{prefix}, $o->{intf}); - } elsif (!$pppAvoided && $o->{modem} && !$o->{modem}{isUp}) { + } elsif (!$pppAvoided && $o->{netcnx}{modem} && !$o->{netcnx}{modem}{isUp}) { eval { modules::load_multi(qw(serial ppp bsd_comp ppp_deflate)) }; run_program::rooted($o->{prefix}, "/etc/rc.d/init.d/syslog", "start"); run_program::rooted($o->{prefix}, "ifup", "ppp0"); - $o->{modem}{isUp} = 1; + $o->{netcnx}{modem}{isUp} = 1; } else { $::testing or return; } @@ -870,11 +870,11 @@ sub downNetwork { modules::write_conf($o->{prefix}); if (!$pppOnly && $o->{intf} && $o->{netc}{NETWORKING} ne 'false') { network::down_it($o->{prefix}, $o->{intf}); - } elsif ($o->{modem} && $o->{modem}{isUp}) { + } elsif ($o->{netcnx}{modem} && $o->{netcnx}{modem}{isUp}) { run_program::rooted($o->{prefix}, "ifdown", "ppp0"); run_program::rooted($o->{prefix}, "/etc/rc.d/init.d/syslog", "stop"); eval { modules::unload($_) foreach qw(ppp_deflate bsd_comp ppp serial) }; - $o->{modem}{isUp} = 0; + $o->{netcnx}{modem}{isUp} = 0; } else { $::testing or return; } |