summaryrefslogtreecommitdiffstats
path: root/pcmcia.py
blob: 785b10dba6da6e0d4185ad60d6a37da8991f5a1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/python

import iutil, string, os, kudzu

def createPcmciaConfig(path, pcic, test = 0):
    f = open(path, "w")

    if (pcic):
	f.write("PCMCIA=yes\n")
	f.write("PCIC=%s\n" % (pcic,))
    else:
	f.write("PCMCIA=no\n")
	f.write("PCIC=\n")

    f.write("PCIC_OPTS=\n")
    f.write("CORE_OPTS=\n")

    f.close()