4.5.0r6
[enigma2.git] / usr / lib / enigma2 / python / Plugins / SystemPlugins / NetworkManager / earlyplugin.py
1 from __future__ import absolute_import
2 from Components.config import config
3 from Components.ResourceManager import resourcemanager
4
5 from .NetworkWizard import NetworkWizardNew
6
7 def EarlyPlugins(**kwargs):
8         if config.misc.firstrun.value:
9                 NetworkWizardNew.firstRun = True
10                 NetworkWizardNew.checkNetwork = True
11         resourcemanager.addResource("NetworkWizard.NetworkWizardNew", NetworkWizardNew)