Enigma2-Plugins: implement needsRestart=True for plugins that need a enigma2 restart...
[enigma2.git] / lib / python / Plugins / SystemPlugins / Hotplug / plugin.py
old mode 100644 (file)
new mode 100755 (executable)
index 1f379f1..84cbbcb
@@ -297,4 +297,4 @@ def autostart(reason, **kwargs):
                        reactor.listenUNIX("/tmp/hotplug.socket", factory)
 
 def Plugins(**kwargs):
-       return PluginDescriptor(name = "Hotplug", description = "listens to hotplug events", where = PluginDescriptor.WHERE_AUTOSTART, fnc = autostart)
+       return PluginDescriptor(name = "Hotplug", description = "listens to hotplug events", where = PluginDescriptor.WHERE_AUTOSTART, needsRestart = True, fnc = autostart)