fix standby name (web manual, hdd standby)
[vuplus_openvuplus] / meta-openvuplus / recipes-vuplus / enigma2 / enigma2-plugins / enigma2_plugins_webinterface_tpm.patch
1 diff --git a/webinterface/src/plugin.py b/webinterface/src/plugin.py
2 index cbf42f8..caebbb0 100644
3 --- a/webinterface/src/plugin.py
4 +++ b/webinterface/src/plugin.py
5 @@ -228,7 +228,7 @@ def stopWebserver(session):
6  # on given ipaddress, port, w/o auth, w/o ssl
7  #===============================================================================
8  def startServerInstance(session, ipaddress, port, useauth=False, l2k=None, usessl=False):
9 -       if hw.get_device_name().lower() != "dm7025":
10 +       if 0:
11                 l3k = None              
12                 l3c = tpm.getCert(eTPM.TPMD_DT_LEVEL3_CERT)
13                 
14 @@ -550,7 +550,7 @@ def checkBonjour():
15  def networkstart(reason, **kwargs):
16         l2r = False
17         l2k = None
18 -       if hw.get_device_name().lower() != "dm7025":            
19 +       if 0:           
20                 l2c = tpm.getCert(eTPM.TPMD_DT_LEVEL2_CERT)
21                 
22                 if l2c is None:
23 @@ -579,7 +579,7 @@ def openconfig(session, **kwargs):
24  def configCB(result, session):
25         l2r = False
26         l2k = None
27 -       if hw.get_device_name().lower() != "dm7025":            
28 +       if 0:           
29                 l2c = tpm.getCert(eTPM.TPMD_DT_LEVEL2_CERT)
30                 
31                 if l2c is None: