diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-10-11 23:52:07 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2005-10-11 23:52:07 +0000 |
| commit | 99603b28da72d3269742be0be6557da8262fc1a0 (patch) | |
| tree | 40a11fdeae61f32504075a060351f77581203718 /lib/python/Screens/NetworkSetup.py | |
| parent | 7f085f2b8db3f06b595b61958edb0d29c6680a0d (diff) | |
| download | enigma2-99603b28da72d3269742be0be6557da8262fc1a0.tar.gz enigma2-99603b28da72d3269742be0be6557da8262fc1a0.zip | |
get network config from /etc/network/interfaces
still missing: parsing of /etc/resolv.conf for nameserver retrieval
Diffstat (limited to 'lib/python/Screens/NetworkSetup.py')
| -rw-r--r-- | lib/python/Screens/NetworkSetup.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/python/Screens/NetworkSetup.py b/lib/python/Screens/NetworkSetup.py index 0ffccb4e..d05a6365 100644 --- a/lib/python/Screens/NetworkSetup.py +++ b/lib/python/Screens/NetworkSetup.py @@ -3,6 +3,7 @@ from Components.ActionMap import ActionMap from Components.ConfigList import ConfigList from Components.config import config from Components.config import getConfigListEntry +from Components.Network import iNetwork class NetworkSetup(Screen): def __init__(self, session): @@ -85,6 +86,9 @@ class NetworkSetup(Screen): def keySave(self): #for x in self["config"].list: #x[1].save() + + iNetwork.writeNetworkConfig() + iNetwork.activateNetworkConfig() self.close() def keyCancel(self): |
