summaryrefslogtreecommitdiff
path: root/deskutils/cairo-dock-plugins/files/patch-wifi-data-wifi
diff options
context:
space:
mode:
Diffstat (limited to 'deskutils/cairo-dock-plugins/files/patch-wifi-data-wifi')
-rw-r--r--deskutils/cairo-dock-plugins/files/patch-wifi-data-wifi18
1 files changed, 18 insertions, 0 deletions
diff --git a/deskutils/cairo-dock-plugins/files/patch-wifi-data-wifi b/deskutils/cairo-dock-plugins/files/patch-wifi-data-wifi
new file mode 100644
index 000000000000..d7fe1a4fea55
--- /dev/null
+++ b/deskutils/cairo-dock-plugins/files/patch-wifi-data-wifi
@@ -0,0 +1,18 @@
+--- wifi/data/wifi.orig 2012-03-10 14:33:22.124016420 +0200
++++ wifi/data/wifi 2012-03-10 14:42:50.174065239 +0200
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!/usr/local/bin/bash
+
+ # Compiz check for Cairo-Dock
+ #
+@@ -17,4 +17,8 @@
+ # GNU General Public License for more details.
+ # http://www.gnu.org/licenses/licenses.html#GPL
+
+-iwconfig 2>/dev/null
++#iwconfig 2>/dev/null
++
++lwlan = `ifconfig | awk -F": " '{print $1}' | awk '{print $1}' | grep wlan`
++
++ifconfig \ No newline at end of file