diff options
author | Olivier Blin <oblin@mandriva.org> | 2004-09-14 09:19:02 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.org> | 2004-09-14 09:19:02 +0000 |
commit | b90b5b16ff0628338f7fcc9a55b090b6e2eea6aa (patch) | |
tree | 47cf8998f819c0ee73650dff1116b45e7aff83fb /perl-install/network | |
parent | f68d991c50a5518950dca8a4543a339b01c4929f (diff) | |
download | drakx-b90b5b16ff0628338f7fcc9a55b090b6e2eea6aa.tar drakx-b90b5b16ff0628338f7fcc9a55b090b6e2eea6aa.tar.gz drakx-b90b5b16ff0628338f7fcc9a55b090b6e2eea6aa.tar.bz2 drakx-b90b5b16ff0628338f7fcc9a55b090b6e2eea6aa.tar.xz drakx-b90b5b16ff0628338f7fcc9a55b090b6e2eea6aa.zip |
allow to configure slmodem
Diffstat (limited to 'perl-install/network')
-rw-r--r-- | perl-install/network/netconnect.pm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/network/netconnect.pm b/perl-install/network/netconnect.pm index e60d8c050..e0b838a8e 100644 --- a/perl-install/network/netconnect.pm +++ b/perl-install/network/netconnect.pm @@ -503,6 +503,7 @@ Take a look at http://www.linmodems.org"), hcfpcimodem => "$::prefix/usr/sbin/hcfpciconfig", hsflinmodem => "$::prefix/usr/sbin/hsfconfig", ltmodem => "$::prefix/etc/devfs/conf.d/ltmodem.conf", + slmodem => "$::prefix/usr/sbin/slmodemd", ); my %devices = (ltmodem => '/dev/ttyS14', @@ -514,6 +515,7 @@ Take a look at http://www.linmodems.org"), $driver =~ /^Hcf:/ and $type = "hcfpcimodem"; $driver =~ /^Hsf:/ and $type = "hsflinmodem"; $driver =~ /^LT:/ and $type = "ltmodem"; + member($driver, list_modules::category2modules('network/slmodem')) and $type = "slmodem"; $type = undef if !($type && (-f $pkgs2path{$type} || $in->do_pkgs->ensure_is_installed_if_available($type, $pkgs2path{$type}))); $modem->{device} = $devices{$type} || '/dev/modem' if $type; # automatically linked by /etc/devfs/conf entry } |