diff options
author | James Meyer <james.meyer@operamail.com> | 2013-01-16 18:54:45 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2013-01-16 18:54:45 (GMT) |
commit | 4e0ed14b738b9989d4360be63f472323cfda3305 (patch) | |
tree | 39d7bf63bdac3c1cd76f4f1ae3041113911e782a /abs/core/supplemental-web | |
parent | c7033cd90ab47e9c739e492bd2de1c50699e7516 (diff) | |
download | linhes_pkgbuild-4e0ed14b738b9989d4360be63f472323cfda3305.zip linhes_pkgbuild-4e0ed14b738b9989d4360be63f472323cfda3305.tar.gz linhes_pkgbuild-4e0ed14b738b9989d4360be63f472323cfda3305.tar.bz2 |
linhes-config: list the ip of network tuners, and provide a link on the supplemental webpage
refs #898
Diffstat (limited to 'abs/core/supplemental-web')
-rw-r--r-- | abs/core/supplemental-web/PKGBUILD | 2 | ||||
-rwxr-xr-x | abs/core/supplemental-web/contents/list_cardmap.py | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/abs/core/supplemental-web/PKGBUILD b/abs/core/supplemental-web/PKGBUILD index 4d8d984..3cd3196 100644 --- a/abs/core/supplemental-web/PKGBUILD +++ b/abs/core/supplemental-web/PKGBUILD @@ -1,7 +1,7 @@ pkgbase=supplemental-web pkgname=('supplemental-web' 'supplemental-web-slave') pkgver=1.0 -pkgrel=40 +pkgrel=41 arch=('i686' 'x86_64') backup=('extra.cfg.txt') diff --git a/abs/core/supplemental-web/contents/list_cardmap.py b/abs/core/supplemental-web/contents/list_cardmap.py index 0c28e0e..16349b7 100755 --- a/abs/core/supplemental-web/contents/list_cardmap.py +++ b/abs/core/supplemental-web/contents/list_cardmap.py @@ -98,13 +98,21 @@ print ''' ''' for statictuner in mbelist: + hdhr_url = None if statictuner[1].find("notfound") > -1 : print "Couldn't open tuner map" print "</br>" else: + if statictuner[0] == "hdhr": + hdhr_url = statictuner[1].split("-")[-1] + print "<li> %s  %s" %(statictuner[1] ,statictuner[0]) print "</br>" print " static device node: %s" %statictuner[2] + + if hdhr_url: + print "</br>" + print ' device webpage: <a href="http://%s">http://%s</a> ' %(hdhr_url.strip(),hdhr_url.strip()) print "</br>" print "</br>" |