diff options
author | Jeremy Katz <katzj@redhat.com> | 2003-02-25 21:12:25 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2003-02-25 21:12:25 +0000 |
commit | 3fd46cb82cf6fca693492be6e469f0744c2e7b83 (patch) | |
tree | b35281fed22e7a44b068431175c0f1867cf6c1c5 /pcmcia.py | |
parent | 7e3a202f5594a775116cb0f70a7733f227ac93ae (diff) | |
download | anaconda-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-x | pcmcia.py | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -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" |