[wolsetup] replace the choicebox with the messagebox. and remove ethtool command.
[vuplus_dvbapp] / lib / python / Plugins / SystemPlugins / FirmwareUpgrade / plugin.py
index 7834f06..de95f9d 100644 (file)
@@ -39,8 +39,22 @@ if os.path.exists("/proc/stb/info/vumodel"):
                fwlist= [
                        ("fpga", _("FPGA"))
                        ]
+               fwdata= {
+                       "fpga" : ["http://archive.vuplus.com/download/fpga", "fpga.files", "/dev/fpga_dp;/dev/misc/dp;"]
+                       }
+       elif info == "solo2":
+               fwlist= [
+                       ("fpga", _("FPGA"))
+                       ]
                fwdata= { 
-                       "fpga" : ["http://archive.vuplus.com/download/fpga", "fpga.file", "/dev/fpga_dp;/dev/misc/dp;"]
+                       "fpga" : ["http://archive.vuplus.com/download/fpga", "fpga.files", "/dev/fpga_dp;/dev/misc/dp;"]
+                       }
+       elif info == "duo2":
+               fwlist= [
+                       ("fpga", _("FPGA"))
+                       ]
+               fwdata= {
+                       "fpga" : ["http://archive.vuplus.com/download/fpga", "fpga.files", "/dev/fpga_dp;/dev/misc/dp;"]
                        }
 
 import os, fcntl, thread