diff options
author | Erik Troan <ewt@redhat.com> | 1999-08-23 23:32:11 +0000 |
---|---|---|
committer | Erik Troan <ewt@redhat.com> | 1999-08-23 23:32:11 +0000 |
commit | 75b6f43dad6759edbd98bc3700eef0219820a0db (patch) | |
tree | 8ed2afeb8d4587617b7487cf838ae4f7c9a557d1 /pcmcia.py | |
parent | 37aedcc4ceae678df22c071e875776b93b318172 (diff) | |
download | anaconda-75b6f43dad6759edbd98bc3700eef0219820a0db.tar.gz anaconda-75b6f43dad6759edbd98bc3700eef0219820a0db.tar.xz anaconda-75b6f43dad6759edbd98bc3700eef0219820a0db.zip |
*** empty log message ***
Diffstat (limited to 'pcmcia.py')
-rwxr-xr-x | pcmcia.py | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/pcmcia.py b/pcmcia.py new file mode 100755 index 000000000..fe3e0b6a2 --- /dev/null +++ b/pcmcia.py @@ -0,0 +1,19 @@ +#!/usr/bin/python + +import iutil, string + +def pcmciaPcicType(test = 0): + if (test): + loc = "/sbin/probe" + else: + loc = "/usr/sbin/probe" + + result = iutil.execWithCapture(loc, [ loc ]) + + if (not string.find("result", "TCIC-2 probe: not found")): + return None + elif (not string.find("result", "TCIC-2")): + return "tcic" + + return "i82365" + |