pandora-scripts: Removed wifi-stuff (will be moved to pandora-scripts-wifi)
authorMichael Mrozek <EvilDragon@openpandora.org>
Tue, 26 Mar 2013 13:36:27 +0000 (14:36 +0100)
committerMichael Mrozek <EvilDragon@openpandora.org>
Tue, 26 Mar 2013 13:36:27 +0000 (14:36 +0100)
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/nettool.pnd [deleted file]
recipes/pandora-system/pandora-scripts/op_wifi.pnd [deleted file]
recipes/pandora-system/pandora-scripts/op_wifi.sh [deleted file]

index 1b90697..1297941 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "bash sed gawk grep zenity"
 
-PR = "r139"
+PR = "r140"
 
 SRC_URI = " \
           file://op_paths.sh \
@@ -19,8 +19,6 @@ SRC_URI = " \
           file://op_sysspeed.sh \
          file://op_createsd.sh \
          file://op_createsd.pnd \
-          file://op_wifi.sh \
-          file://op_wifi.pnd \  
           file://op_bluetooth.sh \
           file://op_bluetooth_work.sh \
           file://op_bluetooth-check.desktop \
@@ -29,7 +27,6 @@ SRC_URI = " \
           file://op_startupmanager.pnd \
           file://op_switchgui.sh \
           file://op_switchgui.pnd \
-          file://nettool.pnd \
           file://startnetbooklauncher \
           file://startmmenu \    
           file://startpmenu \ 
@@ -105,7 +102,6 @@ do_install() {
           install -m 0755 ${WORKDIR}/op_createsd.sh ${D}${prefix}/pandora/scripts/
           install -m 0755 ${WORKDIR}/op_sysspeed.sh ${D}${prefix}/pandora/scripts/
           install -m 0755 ${WORKDIR}/op_cpusettings.sh ${D}${prefix}/pandora/scripts/
-          install -m 0755 ${WORKDIR}/op_wifi.sh ${D}${prefix}/pandora/scripts/
          install -m 0755 ${WORKDIR}/op_usbhost.sh ${D}${prefix}/pandora/scripts/
           install -m 0755 ${WORKDIR}/op_bluetooth.sh ${D}${prefix}/pandora/scripts/
           install -m 0755 ${WORKDIR}/op_bluetooth_work.sh ${D}${prefix}/pandora/scripts/
@@ -156,7 +152,6 @@ do_install() {
          install -m 0755 ${WORKDIR}/op_storage.pnd ${D}${prefix}/pandora/apps/
          install -m 0755 ${WORKDIR}/op_switchgui.pnd ${D}${prefix}/pandora/apps/
          install -m 0755 ${WORKDIR}/op_usermanager.pnd ${D}${prefix}/pandora/apps/
-         install -m 0755 ${WORKDIR}/op_wifi.pnd ${D}${prefix}/pandora/apps/
          install -m 0755 ${WORKDIR}/op_usbhost.pnd ${D}${prefix}/pandora/apps/
           install -m 0755 ${WORKDIR}/op_tvout.pnd ${D}${prefix}/pandora/apps/
          install -m 0755 ${WORKDIR}/op_inputtest.pnd ${D}${prefix}/pandora/apps/
@@ -172,7 +167,6 @@ do_install() {
           install -m 0755 ${WORKDIR}/thunar.pnd ${D}${prefix}/pandora/mmenu/
           install -m 0755 ${WORKDIR}/xchat.pnd ${D}${prefix}/pandora/mmenu/
          install -m 0755 ${WORKDIR}/gcalctool.pnd ${D}${prefix}/pandora/mmenu/
-         install -m 0755 ${WORKDIR}/nettool.pnd ${D}${prefix}/pandora/mmenu/
 
           install -d ${D}${datadir}/applications/
           install -m 0644 ${WORKDIR}/op_bluetooth.desktop ${D}${datadir}/applications/
diff --git a/recipes/pandora-system/pandora-scripts/nettool.pnd b/recipes/pandora-system/pandora-scripts/nettool.pnd
deleted file mode 100644 (file)
index a978d97..0000000
Binary files a/recipes/pandora-system/pandora-scripts/nettool.pnd and /dev/null differ
diff --git a/recipes/pandora-system/pandora-scripts/op_wifi.pnd b/recipes/pandora-system/pandora-scripts/op_wifi.pnd
deleted file mode 100644 (file)
index 4630fac..0000000
Binary files a/recipes/pandora-system/pandora-scripts/op_wifi.pnd and /dev/null differ
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