diff options
author | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-25 01:57:59 +0200 |
---|---|---|
committer | Arturo FilastoĢ <hellais@torproject.org> | 2011-08-25 01:57:59 +0200 |
commit | 2da67986a68571789172cc1f469f2d010d8128de (patch) | |
tree | 9dd26d05d27049b90cda7870bee71d5b6d5f94b3 /packages/torouter-web/src/tui/controllers | |
parent | 817713dc33ae88217b61c73d4b9b0446a1a89855 (diff) | |
download | torouter-2da67986a68571789172cc1f469f2d010d8128de.tar.gz torouter-2da67986a68571789172cc1f469f2d010d8128de.zip |
Make the network interfaces be inside config.py
Diffstat (limited to 'packages/torouter-web/src/tui/controllers')
-rw-r--r-- | packages/torouter-web/src/tui/controllers/network.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/torouter-web/src/tui/controllers/network.py b/packages/torouter-web/src/tui/controllers/network.py index 6b62da7..598d332 100644 --- a/packages/torouter-web/src/tui/controllers/network.py +++ b/packages/torouter-web/src/tui/controllers/network.py @@ -81,7 +81,7 @@ class wireless: itfc.set_mac(data.mac) itfc.wifi['netmask'] = data.netmask itfc.wifi['address'] = data.address - filecontent = itfc.exclude_output("wlan0") + itfc.output(itfc.wifi) + filecontent = itfc.exclude_output(config.network_interfaces[0]) + itfc.output(itfc.wifi) files = [('/etc/network/interfaces', filecontent)] fileio.write(files) #print itfc.output(itfc.wifi) |