summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.org>2004-08-17 09:51:34 +0000
committerOlivier Blin <oblin@mandriva.org>2004-08-17 09:51:34 +0000
commit2c618f87c53335cdc09312b88a26d8f61935e8e9 (patch)
tree0b36f9e7224eaea948a864868682210385bd97ed /perl-install
parent2138caee5d80a58604bf6af0dacc121115b4eb62 (diff)
downloaddrakx-2c618f87c53335cdc09312b88a26d8f61935e8e9.tar
drakx-2c618f87c53335cdc09312b88a26d8f61935e8e9.tar.gz
drakx-2c618f87c53335cdc09312b88a26d8f61935e8e9.tar.bz2
drakx-2c618f87c53335cdc09312b88a26d8f61935e8e9.tar.xz
drakx-2c618f87c53335cdc09312b88a26d8f61935e8e9.zip
sagem: don't run pppoa if the ethernet interface isn't created and use
a reduced timeout (1 second) so that boot doesn't take forever if modem can't be synchronized (maxfail * timeout was equal to 25 minutes)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/adsl.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index a19c56288..2a94b1a85 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -164,7 +164,7 @@ noaccomp),
stop => "/usr/bin/killall pppoa",
get_intf => "/usr/sbin/eaglectrl -i",
server => {
- pppoa => qq("/usr/sbin/pppoa -I `/usr/sbin/fctStartAdsl -i`"),
+ pppoa => qq("intf=`/usr/sbin/fctStartAdsl -t 1 -i` && /usr/sbin/pppoa -I $intf"),
},
ppp_options => qq(
mru 1492