X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/ed94aebfba0372444928338ef479b399aa9bcbfc..16f9d918460fb645b3e64c65437fda2161abd93c:/lib/python/Components/Network.py diff --git a/lib/python/Components/Network.py b/lib/python/Components/Network.py index 3ee76298..6fbd9994 100644 --- a/lib/python/Components/Network.py +++ b/lib/python/Components/Network.py @@ -1,5 +1,3 @@ -from Components.config import config, ConfigYesNo, ConfigIP, NoSave, ConfigSubsection, ConfigMAC - import os import re from socket import * @@ -190,7 +188,7 @@ class Network: def deactivateNetworkConfig(self): for iface in self.ifaces.keys(): - os.system("ip addr flush" + iface) + os.system("ip addr flush " + iface) os.system("/etc/init.d/networking stop") os.system("killall -9 udhcpc") os.system("rm /var/run/udhcpc*")