X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/da54ea206b908d0ab08f7e8c61466c5fe6180540..39627668ca36cecbc78ec5f677061f128957b550:/lib/python/Components/Network.py diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index 5add0c01..f65863dc 100644 --- a/lib/python/Components/Network.py +++ b/lib/python/Components/Network.py @@ -81,14 +81,12 @@ class Network: print "[Network.py] parsing network failed" def deactivateNetworkConfig(self): - import os os.system("ip addr flush eth0") os.system("/etc/init.d/networking stop") os.system("killall -9 udhcpc") os.system("rm /var/run/udhcpc*") def activateNetworkConfig(self): - import os os.system("/etc/init.d/networking start") config.network.ip.value = self.getCurrentIP() config.network.ip.save()