Change remote type to advanced
authorschon <schon@dev03-server>
Thu, 7 Apr 2011 03:59:10 +0000 (12:59 +0900)
committerschon <schon@dev03-server>
Thu, 7 Apr 2011 03:59:10 +0000 (12:59 +0900)
data/defaults/Dream/settings.8000
lib/python/Plugins/SystemPlugins/SoftwareManager/SoftwareTools.py

index ae2963b..2787d5d 100755 (executable)
@@ -1 +1 @@
-config.misc.rcused=1
\ No newline at end of file
+config.misc.rcused=0
index 7c508f9..a851875 100755 (executable)
@@ -101,7 +101,7 @@ class SoftwareTools(DreamInfoHandler):
 
        def getUpdates(self, callback = None):
                if self.lastDownloadDate is None:
 
        def getUpdates(self, callback = None):
                if self.lastDownloadDate is None:
-                       if  self.hardware_info.device_name != "dm500hd":
+                       if 0:
                                etpm = eTPM()
                                l2cert = etpm.getCert(eTPM.TPMD_DT_LEVEL2_CERT)
                                if l2cert is None:
                                etpm = eTPM()
                                l2cert = etpm.getCert(eTPM.TPMD_DT_LEVEL2_CERT)
                                if l2cert is None:
@@ -120,7 +120,7 @@ class SoftwareTools(DreamInfoHandler):
                                        return
                                val = etpm.challenge(rnd)
                                result = decrypt_block(val, l3key)
                                        return
                                val = etpm.challenge(rnd)
                                result = decrypt_block(val, l3key)
-                       if self.hardware_info.device_name == "dm500hd" or result[80:88] == rnd:
+                       if 1:
                                if self.NetworkConnectionAvailable == True:
                                        self.lastDownloadDate = time()
                                        if self.list_updating is False and callback is None:
                                if self.NetworkConnectionAvailable == True:
                                        self.lastDownloadDate = time()
                                        if self.list_updating is False and callback is None:
@@ -159,7 +159,7 @@ class SoftwareTools(DreamInfoHandler):
                                        self.NotifierCallback = callback
                        else:
                                if self.list_updating and callback is not None:
                                        self.NotifierCallback = callback
                        else:
                                if self.list_updating and callback is not None:
-                                       if  self.hardware_info.device_name != "dm500hd":
+                                       if 0:
                                                etpm = eTPM()
                                                l2cert = etpm.getCert(eTPM.TPMD_DT_LEVEL2_CERT)
                                                if l2cert is None:
                                                etpm = eTPM()
                                                l2cert = etpm.getCert(eTPM.TPMD_DT_LEVEL2_CERT)
                                                if l2cert is None: