workaround for not working /etc/init.d/network script
[enigma2.git] / lib / python / Screens / NetworkSetup.py
index 9ffae8462e2b57048a653e5e8f2a7f0f3a49bfea..278c66063055d3334ab3849c3d1b50c1c935af92 100644 (file)
@@ -51,6 +51,8 @@ class NetworkSetup(Screen, ConfigListScreen):
        def ok(self):
                #for x in self["config"].list:
                        #x[1].save()
        def ok(self):
                #for x in self["config"].list:
                        #x[1].save()
+               
+               iNetwork.deactivateNetworkConfig()
                iNetwork.writeNetworkConfig()    
                iNetwork.activateNetworkConfig()
                self.close()
                iNetwork.writeNetworkConfig()    
                iNetwork.activateNetworkConfig()
                self.close()