[hbbtv] reduce CPU usage
[vuplus_openvuplus] / meta-openvuplus / recipes-vuplus / enigma2 / enigma2-plugins / enigma2_plugins_fancontrol2.patch
1 diff --git a/fancontrol2/CONTROL/control b/fancontrol2/CONTROL/control
2 index a2cee72..d8dec7f 100644
3 --- a/fancontrol2/CONTROL/control
4 +++ b/fancontrol2/CONTROL/control
5 @@ -3,4 +3,4 @@ Version: 2.5
6  Description: Temperature dependent fan control
7  Maintainer: IHAD joergm6 <joergm6@www.i-have-a-dreambox.com>
8  Homepage: http://www.i-have-a-dreambox.com
9 -Depends: enigma2 (>> 2.6)
10 +Depends: enigma2 (>> 2.6), enigma2-plugin-extensions-openwebif
11 diff --git a/fancontrol2/src/plugin.py b/fancontrol2/src/plugin.py
12 index 847cd6c..671bfa3 100644
13 --- a/fancontrol2/src/plugin.py
14 +++ b/fancontrol2/src/plugin.py
15 @@ -1045,9 +1045,8 @@ def Plugins(**kwargs):
16         list = [
17         PluginDescriptor(name="Fan Control", 
18         description="Fan Control 2", 
19 -       where = [PluginDescriptor.WHERE_SESSIONSTART, 
20 -       PluginDescriptor.WHERE_AUTOSTART], 
21 -       fnc = autostart),
22 +       where = PluginDescriptor.WHERE_NETWORKCONFIG_READ,
23 +       fnc = autostart, weight=10),
24         PluginDescriptor(name="Fan Control", 
25         description="Fan Control 2", 
26         where = PluginDescriptor.WHERE_PLUGINMENU,