aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Network.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/Network.py')
-rw-r--r--lib/python/Components/Network.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py
index 37af0c98..3ee76298 100644
--- a/lib/python/Components/Network.py
+++ b/lib/python/Components/Network.py
@@ -95,7 +95,7 @@ class Network:
return data
def writeNetworkConfig(self):
- fp = file('/etc/network/interfaces.tmp', 'w')
+ fp = file('/etc/network/interfaces', 'w')
fp.write("# automatically generated by enigma 2\n# do NOT change manually!\n\n")
fp.write("auto lo\n")
fp.write("iface lo inet loopback\n\n")
@@ -134,7 +134,7 @@ class Network:
interfaces = []
# parse the interfaces-file
try:
- fp = file('/etc/network/interfaces.tmp', 'r')
+ fp = file('/etc/network/interfaces', 'r')
interfaces = fp.readlines()
fp.close()
except: