summaryrefslogtreecommitdiffstats
path: root/perl-install/detect_devices.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/detect_devices.pm')
-rw-r--r--perl-install/detect_devices.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/detect_devices.pm b/perl-install/detect_devices.pm
index 0fa9297aa..c5f7ff4a2 100644
--- a/perl-install/detect_devices.pm
+++ b/perl-install/detect_devices.pm
@@ -249,10 +249,10 @@ sub usb_probe {
}
sub pcmcia_probe {
- -e "/var/run/stab" or return ();
+ -e '/var/run/stab' || -e '/var/lib/pcmcia/stab' or return ();
my (@devs, $desc);
- foreach (cat_("/var/run/stab")) {
+ foreach (cat_('/var/run/stab'), cat_('/var/lib/pcmcia/stab')) {
if (/^Socket\s+\d+:\s+(.*)/) {
$desc = $1;
} else {