git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix very stupid error
[enigma2.git]
/
lib
/
python
/
Components
/
Network.py
diff --git
a/lib/python/Components/Network.py
b/lib/python/Components/Network.py
index 99afb75db93c7dd946fc95353fe59006c24bd595..8375d23552cbdfbd5da5f28fd8b0c434ca970381 100644
(file)
--- a/
lib/python/Components/Network.py
+++ b/
lib/python/Components/Network.py
@@
-12,7
+12,7
@@
class Network:
# fixme using interfaces.tmp instead of interfaces for now
fp = file('/etc/network/interfaces', 'w')
fp.write("auto eth0\n")
# fixme using interfaces.tmp instead of interfaces for now
fp = file('/etc/network/interfaces', 'w')
fp.write("auto eth0\n")
- if (config.network.dhcp.value ==
_("yes")
):
+ if (config.network.dhcp.value ==
1
):
fp.write("iface eth0 inet dhcp\n")
else:
fp.write("iface eth0 inet static\n")
fp.write("iface eth0 inet dhcp\n")
else:
fp.write("iface eth0 inet static\n")