git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update fr,da language
[enigma2.git]
/
lib
/
python
/
Components
/
Network.py
diff --git
a/lib/python/Components/Network.py
b/lib/python/Components/Network.py
index 3ee76298312549c87cd6552019867686f94d0ab0..6fbd99945e57c2eb71f1147696c9aaf3b66698f7 100644
(file)
--- 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 *
import os
import re
from socket import *
@@
-190,7
+188,7
@@
class Network:
def deactivateNetworkConfig(self):
for iface in self.ifaces.keys():
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*")
os.system("/etc/init.d/networking stop")
os.system("killall -9 udhcpc")
os.system("rm /var/run/udhcpc*")