--- /dev/null
+DESCRIPTION = "Scripts to support system options on the OpenPandora."
+LICENSE = "GPLV2"
+
+COMPATIBLE_MACHINE = "omap3-pandora"
+
+RDEPENDS = "pandora-scripts"
+
+PR = "r1"
+
+SRC_URI = " \
+ file://op_wifi.sh \
+ file://op_wifi.pnd \
+ file://nettool.pnd \
+"
+
+do_install() {
+ install -d ${D}${prefix}/pandora/scripts/
+ install -m 0755 ${WORKDIR}/op_wifi.sh ${D}${prefix}/pandora/scripts/
+
+ install -d ${D}${prefix}/pandora/apps/
+ install -m 0755 ${WORKDIR}/op_wifi.pnd ${D}${prefix}/pandora/apps/
+
+ install -d ${D}${prefix}/pandora/mmenu/
+ install -m 0755 ${WORKDIR}/nettool.pnd ${D}${prefix}/pandora/mmenu/
+}
+
+PACKAGE_ARCH = "${MACHINE_ARCH}"
+
+FILES_${PN} += "${prefix} ${datadir}"
--- /dev/null
+#!/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