summaryrefslogtreecommitdiffstats
path: root/pcmcia.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-02-25 21:12:25 +0000
committerJeremy Katz <katzj@redhat.com>2003-02-25 21:12:25 +0000
commit3fd46cb82cf6fca693492be6e469f0744c2e7b83 (patch)
treeb35281fed22e7a44b068431175c0f1867cf6c1c5 /pcmcia.py
parent7e3a202f5594a775116cb0f70a7733f227ac93ae (diff)
downloadanaconda-3fd46cb82cf6fca693492be6e469f0744c2e7b83.tar.gz
anaconda-3fd46cb82cf6fca693492be6e469f0744c2e7b83.tar.xz
anaconda-3fd46cb82cf6fca693492be6e469f0744c2e7b83.zip
merge from branch to HEAD. turkish stays on HEAD, though
Diffstat (limited to 'pcmcia.py')
-rwxr-xr-xpcmcia.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/pcmcia.py b/pcmcia.py
index 5950a968b..97e5a7c60 100755
--- a/pcmcia.py
+++ b/pcmcia.py
@@ -29,10 +29,17 @@ def pcicType(test = 0):
except RuntimeError:
return None
+
+ # VERY VERY BAD - we're depending on the output of /sbin/probe
+ # to guess the PCMCIA controller. Output has changed over the
+ # years and this tries to catch cases we know of
if (string.find(result, "TCIC-2 probe: not found") != -1):
return None
elif (string.find(result, "TCIC-2") != -1):
- return "tcic"
+ if (string.find(result, "not") == -1):
+ return "tcic"
+ else:
+ return None
return "i82365"