aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components
diff options
context:
space:
mode:
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>2007-03-20 22:05:19 +0000
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>2007-03-20 22:05:19 +0000
commited94aebfba0372444928338ef479b399aa9bcbfc (patch)
tree1f83535fa74b4a33c9bba2106b650eeaef7091d6 /lib/python/Components
parentdea2fe0418b7e3761ff8f7a1f59e4066b3ed2cc8 (diff)
downloadenigma2-ed94aebfba0372444928338ef479b399aa9bcbfc.tar.gz
enigma2-ed94aebfba0372444928338ef479b399aa9bcbfc.zip
don't use interfaces.tmp instead of interfaces file
Diffstat (limited to 'lib/python/Components')
-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: