op_wifi.sh: Made a hack-around fix to cleanly exit the script
authorMichael Mrozek <EvilDragon@openpandora.de>
Fri, 4 Mar 2011 10:20:37 +0000 (11:20 +0100)
committerMichael Mrozek <EvilDragon@openpandora.de>
Fri, 4 Mar 2011 10:20:37 +0000 (11:20 +0100)
recipes/pandora-system/pandora-scripts.bb
recipes/pandora-system/pandora-scripts/op_wifi.sh

index 91ee98a..da2b338 100644 (file)
@@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 DEPENDS = "zenity dbus"
 RDEPENDS = "zenity dbus"
 
-PR = "r58"
+PR = "r59"
 
 SRC_URI = " \
           file://op_bright.sh \
index d89e7cd..8d2759e 100644 (file)
@@ -3,7 +3,7 @@
 # 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