forked from Lainports/freebsd-ports
18 lines
485 B
Text
18 lines
485 B
Text
--- 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
|