X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/e5be8d7dbdb42cc287d6ba65ecc3a08685412fc1..e40c611f0cf2653a48571f0081cf193ebfd2ffcf:/lib/python/Components/Network.py diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index 99afb75d..8375d235 100644 --- 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") - 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")