summaryrefslogtreecommitdiffstats
path: root/abs/core/supplemental-web/cgi/cardlist.cgi
blob: 5ba73432e270f221874fc8740131a761e4967969 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env python2
print "Content-type: text/html"
print
exportfile = '/etc/udev/mv-persistent-video.description'
try:
	f = open(exportfile,"r")
        for line in f.readlines():
            if line.startswith("#"):
                continue
            item = line.split(":")
            if len(item) <= 1 :
                continue
	    print line
except :
	print ""
	print "Couldn't read static tuner map"