diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-01 13:50:18 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-03-01 13:50:18 +0000 |
commit | 8375abebba0f0a82fff946ab65db1b5673688040 (patch) | |
tree | fdebba1280f58f2c953ec9b90ad24276631bf3b7 /perl-install | |
parent | 60cd4b509e2a166a87845db520e44e479ad14073 (diff) | |
download | drakx-8375abebba0f0a82fff946ab65db1b5673688040.tar drakx-8375abebba0f0a82fff946ab65db1b5673688040.tar.gz drakx-8375abebba0f0a82fff946ab65db1b5673688040.tar.bz2 drakx-8375abebba0f0a82fff946ab65db1b5673688040.tar.xz drakx-8375abebba0f0a82fff946ab65db1b5673688040.zip |
(upNetwork) log up try and faillures
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 5c931ca8a..58bc58ca2 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -982,15 +982,19 @@ sub upNetwork { modules::write_conf(); if (hasNetwork($o)) { if ($o->{netcnx}{type} =~ /adsl|lan|cable/) { + log::l("starting network ($o->{netcnx}{type})"); require network::netconnect; network::netconnect::start_internet($o); return 1; } elsif (!$b_pppAvoided) { + log::l("starting network (ppp: $o->{netcnx}{type})"); eval { modules::load(qw(serial ppp bsd_comp ppp_deflate)) }; run_program::rooted($o->{prefix}, "/etc/rc.d/init.d/syslog", "start"); require network::netconnect; network::netconnect::start_internet($o); return 1; + } else { + log::l(qq(not starting network (b/c ppp avoided and type is "$o->{netcnx}{type})")); } } $::testing; |