From 17014fd9212a661c4725dce7c7f5882a54c4b74c Mon Sep 17 00:00:00 2001 From: Damien Chaumette Date: Tue, 1 Jun 2004 15:50:40 +0000 Subject: new way to specify how to up connection for pppoe(xDSL) and others(ADSL) --- perl-install/network/adsl.pm | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'perl-install/network') diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm index c4a3743fd..607fb02bc 100644 --- a/perl-install/network/adsl.pm +++ b/perl-install/network/adsl.pm @@ -277,14 +277,13 @@ user "$adsl->{login}" } #- FIXME I'm lame: - #- -ONBOOT hardcoded - #- -pptp has to be done within pppd (no more use of /usr/bin/pptp) - #- -adsl-start will be called by ifup-ppp, good for pppoe, bad for the others. Most of the time a single `pppd call adsl` is enough. - #- -still have to check hotplug firmware upload for usb modems - #- Mostly broken for now :( + #- ONBOOT hardcoded + #- pptp has to be done within pppd (no more use of /usr/bin/pptp) + #- still have to check hotplug firmware upload for usb modems + my $kind = $adsl_type eq 'pppoe' ? 'xDSL' : 'ADSL'; output_with_perm("$::prefix/etc/sysconfig/network-scripts/ifcfg-ppp0", 0705, qq(DEVICE=ppp0 ONBOOT=no -TYPE=xDSL +TYPE=$kind )); # sagem specific stuff -- cgit v1.2.1