summaryrefslogtreecommitdiffstats
path: root/extra/wicd/wicd-1.7.0-script-execution.patch
diff options
context:
space:
mode:
authorsibel <lesibel@free.fr>2011-01-17 13:27:16 +0100
committersibel <lesibel@free.fr>2011-01-17 13:27:16 +0100
commit827ea761791c7aca4fa757f7ebf405de41fa2395 (patch)
tree4ae17df777fc5d13fb11567dd080fb214bad6dbc /extra/wicd/wicd-1.7.0-script-execution.patch
parenta934c99d5d94b51dc90154de5d5884f750abc0f2 (diff)
downloadnutyx-pakxe-827ea761791c7aca4fa757f7ebf405de41fa2395.tar.gz
nutyx-pakxe-827ea761791c7aca4fa757f7ebf405de41fa2395.tar.bz2
nutyx-pakxe-827ea761791c7aca4fa757f7ebf405de41fa2395.tar.xz
nutyx-pakxe-827ea761791c7aca4fa757f7ebf405de41fa2395.zip
wicd, correction port
Diffstat (limited to 'extra/wicd/wicd-1.7.0-script-execution.patch')
-rw-r--r--extra/wicd/wicd-1.7.0-script-execution.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/extra/wicd/wicd-1.7.0-script-execution.patch b/extra/wicd/wicd-1.7.0-script-execution.patch
new file mode 100644
index 000000000..cd8e42834
--- /dev/null
+++ b/extra/wicd/wicd-1.7.0-script-execution.patch
@@ -0,0 +1,24 @@
+=== modified file 'wicd/networking.py'
+--- wicd/networking.py 2010-01-15 04:02:10 +0000
++++ wicd/networking.py 2010-01-27 19:06:21 +0000
+@@ -215,8 +215,8 @@
+ if self.pre_disconnect_script:
+ print 'Running pre-disconnect script'
+ misc.ExecuteScript(expand_script_macros(self.pre_disconnect_script,
+- 'pre-disconnection', (mac,
+- name)),
++ 'pre-disconnection',
++ mac, name),
+ self.debug)
+ iface.ReleaseDHCP()
+ iface.SetAddress('0.0.0.0')
+@@ -229,7 +229,7 @@
+ print 'Running post-disconnect script'
+ misc.ExecuteScript(expand_script_macros(self.post_disconnect_script,
+ 'post-disconnection',
+- (mac, name)),
++ mac, name),
+ self.debug)
+
+ def ReleaseDHCP(self):
+