From 0643679f69e7215b1f254dbd310384d13acb5636 Mon Sep 17 00:00:00 2001 From: damien Date: Thu, 26 Jul 2001 12:47:47 +0000 Subject: added default option id="HiSax" to isdn module --- perl-install/modules.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/modules.pm') diff --git a/perl-install/modules.pm b/perl-install/modules.pm index fe2f31b04..f716c4ef5 100644 --- a/perl-install/modules.pm +++ b/perl-install/modules.pm @@ -740,10 +740,12 @@ sub get_that_type { grep { if ($type eq 'isdn') { - my $b = $_->{driver} =~ /ISDN:([^,]*),?(.*)/; + my $b = $_->{driver} =~ /ISDN:([^,]*),?([^,]*),?(.*)/; if ($b) { $_->{driver} = $1; $_->{options} = $2; + $_->{firmware} = $3; + $_->{driver} eq "hisax" and $_->{options} .= " id=HiSax"; } $b; } else { -- cgit v1.2.1