aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/cairo-dock-plugins/files/patch-Network-Monitor-data-wifi
blob: 49022f771d584898bb3826055241d454a87e7b01 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
--- Network-Monitor/data/wifi.orig  2012-03-10 14:33:22.124016420 +0200
+++ Network-Monitor/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 $lwlan