pandora-scripts: Removed wifi-stuff (will be moved to pandora-scripts-wifi)
[openpandora.oe.git] / recipes / pandora-system / pandora-scripts / op_wifi.sh
diff --git a/recipes/pandora-system/pandora-scripts/op_wifi.sh b/recipes/pandora-system/pandora-scripts/op_wifi.sh
deleted file mode 100644 (file)
index 8d2759e..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-#
-# Released under the GPL
-
-# This script simply toggles internal WiFi on or off.
-cd /
-if [ "`lsmod | grep wl1251`" ]
-then
-       notify-send -u normal "WLAN" "WLAN is being disabled..." -i /usr/share/icons/hicolor/32x32/apps/nm-no-connection.png
-       ifconfig wlan0 down
-       rmmod board_omap3pandora_wifi wl1251_sdio wl1251
-else
-       notify-send -u normal "WLAN" "WLAN is being enabled..." -i /usr/share/icons/hicolor/32x32/apps/nm-device-wired.png
-       /etc/init.d/wl1251-init start
-fi