summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorDamien Chaumette <dchaumette@mandriva.com>2004-05-03 14:29:28 +0000
committerDamien Chaumette <dchaumette@mandriva.com>2004-05-03 14:29:28 +0000
commit6c7e9bdbfa12bc52da5272de610ff4956e35f715 (patch)
treed17a8ce7e5bca01908d4fa0e8e9f6ecb1dfef49b /perl-install
parentc6f3c5e2231430e3359f31050643b903262e0ca9 (diff)
downloaddrakx-6c7e9bdbfa12bc52da5272de610ff4956e35f715.tar
drakx-6c7e9bdbfa12bc52da5272de610ff4956e35f715.tar.gz
drakx-6c7e9bdbfa12bc52da5272de610ff4956e35f715.tar.bz2
drakx-6c7e9bdbfa12bc52da5272de610ff4956e35f715.tar.xz
drakx-6c7e9bdbfa12bc52da5272de610ff4956e35f715.zip
take ISDN protocol into account for people outside Europe to use it
(kind of lost in space before)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/network/isdn.pm1
-rw-r--r--perl-install/network/netconnect.pm5
2 files changed, 5 insertions, 1 deletions
diff --git a/perl-install/network/isdn.pm b/perl-install/network/isdn.pm
index 2c03cef31..e4f0ac49a 100644
--- a/perl-install/network/isdn.pm
+++ b/perl-install/network/isdn.pm
@@ -43,6 +43,7 @@ I4L_IO0="$isdn->{io0}"
I4L_IO1="$isdn->{io1}"
I4L_ID="HiSax"
I4L_FIRMWARE="$isdn->{firmware}"
+I4L_PROTOCOL="$isdn->{protocol}"
);
output "$::prefix/etc/ppp/ioptions",
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm
index 76f7fbcc1..60651ae4c 100644
--- a/perl-install/network/netconnect.pm
+++ b/perl-install/network/netconnect.pm
@@ -424,7 +424,10 @@ If you have a PCMCIA card, you have to know the \"irq\" and \"io\" of your card.
{ label => N("Protocol"), type => "list", val => \$isdn_type,
list => [ keys %isdn_protocols ], format => sub { $isdn_protocols{$_[0]} } }
],
- next => "isdn_db",
+ post => sub {
+ $isdn->{protocol} = $isdn_type;
+ return "isdn_db",
+ }
},