From ceb75eb6e347c9efb0c4dcabb08ace839512d722 Mon Sep 17 00:00:00 2001 From: Michael Mrozek Date: Fri, 4 Mar 2011 11:20:37 +0100 Subject: [PATCH] op_wifi.sh: Made a hack-around fix to cleanly exit the script --- recipes/pandora-system/pandora-scripts.bb | 2 +- recipes/pandora-system/pandora-scripts/op_wifi.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/recipes/pandora-system/pandora-scripts.bb b/recipes/pandora-system/pandora-scripts.bb index 91ee98a..da2b338 100644 --- a/recipes/pandora-system/pandora-scripts.bb +++ b/recipes/pandora-system/pandora-scripts.bb @@ -6,7 +6,7 @@ COMPATIBLE_MACHINE = "omap3-pandora" DEPENDS = "zenity dbus" RDEPENDS = "zenity dbus" -PR = "r58" +PR = "r59" SRC_URI = " \ file://op_bright.sh \ diff --git a/recipes/pandora-system/pandora-scripts/op_wifi.sh b/recipes/pandora-system/pandora-scripts/op_wifi.sh index d89e7cd..8d2759e 100644 --- a/recipes/pandora-system/pandora-scripts/op_wifi.sh +++ b/recipes/pandora-system/pandora-scripts/op_wifi.sh @@ -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 -- 2.39.2