summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authordamien <damien@mandriva.com>2001-07-26 12:47:47 +0000
committerdamien <damien@mandriva.com>2001-07-26 12:47:47 +0000
commit0643679f69e7215b1f254dbd310384d13acb5636 (patch)
tree5dea6c299f3153da3bad678bfc37d5cd20c0268f /perl-install
parentbfdaf6ccfabb2a53c27be23c5bb8c7339aecb30a (diff)
downloaddrakx-backup-do-not-use-0643679f69e7215b1f254dbd310384d13acb5636.tar
drakx-backup-do-not-use-0643679f69e7215b1f254dbd310384d13acb5636.tar.gz
drakx-backup-do-not-use-0643679f69e7215b1f254dbd310384d13acb5636.tar.bz2
drakx-backup-do-not-use-0643679f69e7215b1f254dbd310384d13acb5636.tar.xz
drakx-backup-do-not-use-0643679f69e7215b1f254dbd310384d13acb5636.zip
added default option id="HiSax" to isdn module
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/modules.pm4
1 files changed, 3 insertions, 1 deletions
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 {