summaryrefslogtreecommitdiffstats
path: root/perl-install/network/adsl.pm
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-09-12 17:15:36 +0000
committerdamien <damien@mandriva.com>2001-09-12 17:15:36 +0000
commit8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480 (patch)
tree6a2715954bbbf868954eef75da6abcc3cfc7ee26 /perl-install/network/adsl.pm
parentba0a8f74db346c94fb64f0a246c7e42ceb6a4982 (diff)
downloaddrakx-8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480.tar
drakx-8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480.tar.gz
drakx-8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480.tar.bz2
drakx-8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480.tar.xz
drakx-8fbd7ec2b17cefc2ab1edbd728fddb98bcadc480.zip
new default connection handling
Diffstat (limited to 'perl-install/network/adsl.pm')
-rw-r--r--perl-install/network/adsl.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/perl-install/network/adsl.pm b/perl-install/network/adsl.pm
index bfb12b09c..f60deff05 100644
--- a/perl-install/network/adsl.pm
+++ b/perl-install/network/adsl.pm
@@ -149,19 +149,19 @@ and copy the mgmt.o in /usr/share/speedtouch'))
/usr/bin/pptp 10.0.0.138 name $adsl->{login}
",
'/usr/bin/killall pptp pppd
-' ) } elsif ($adsl_type eq 'pppoe') {
+', $netcnx->{type}) } elsif ($adsl_type eq 'pppoe') {
write_cnx_script($netc, "adsl",
"/sbin/route del default
LC_ALL=C LANG=C LANGUAGE=C LC_MESSAGES=C /usr/sbin/adsl-start $netc->{NET_DEVICE} $adsl->{login}
",
'/usr/sbin/adsl-stop
/usr/bin/killall pppoe pppd
-' ) } elsif ($adsl_type eq 'speedtouch') {
+', $netcnx->{type}) } elsif ($adsl_type eq 'speedtouch') {
write_cnx_script($netc, 'adsl',
'/usr/share/speedtouch/speedtouch.sh start
',
'/usr/share/speedtouch/speedtouch.sh stop
-') }
+', $netcnx->{type}) }
$netc->{NET_INTERFACE}='ppp0';
}