fix swapped rfmod test mode
[enigma2.git] / lib / python / Components / Network.py
index 22271ec8ebb18b83445b167c2482c666a3a8b61b..948b2fdf74ad17d3380a415e9dc44a4041be8602 100644 (file)
@@ -11,6 +11,8 @@ class Network:
                # fixme restarting and updating the network too often. possible fix: check current config and execute only if changed :/
                # fixme using interfaces.tmp instead of interfaces for now
                fp = file('/etc/network/interfaces', 'w')
+               fp.write("auto lo\n")
+               fp.write("iface lo inet loopback\n\n")
                fp.write("auto eth0\n")
                if (currentConfigSelectionElement(config.network.dhcp) == "yes"):
                        fp.write("iface eth0 inet dhcp\n")