diff options
author | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-19 17:16:58 +0000 |
---|---|---|
committer | Thierry Vignaud <tvignaud@mandriva.org> | 2004-01-19 17:16:58 +0000 |
commit | dbe56ff5b6d80815b115dbee2a0018bd23dc6506 (patch) | |
tree | b397bed7ffff66b0f0a479c29808b80da732ccc1 | |
parent | 4603973566067871c5811e94982360e680006bab (diff) | |
download | drakx-dbe56ff5b6d80815b115dbee2a0018bd23dc6506.tar drakx-dbe56ff5b6d80815b115dbee2a0018bd23dc6506.tar.gz drakx-dbe56ff5b6d80815b115dbee2a0018bd23dc6506.tar.bz2 drakx-dbe56ff5b6d80815b115dbee2a0018bd23dc6506.tar.xz drakx-dbe56ff5b6d80815b115dbee2a0018bd23dc6506.zip |
(getSerialModem) do not even bother check for /dev/modem since anyway
probeSerialDevices() set a bijection between modems and /dev/ttySx
devices (not /dev/modem) thus making hasModem() test useless for
/dev/modem
-rw-r--r-- | perl-install/detect_devices.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm index 486715387..a51a09909 100644 --- a/perl-install/detect_devices.pm +++ b/perl-install/detect_devices.pm @@ -398,7 +398,7 @@ sub getSerialModem { eval { modules::load($serdev) }; probeSerialDevices(); - foreach ('modem', map { "ttyS$_" } (0..7)) { + foreach (map { "ttyS$_" } (0..7)) { next if $mouse->{device} =~ /$_/; next unless -e "/dev/$_"; hasModem("/dev/$_") and $modem->{device} = $_, last; |