op_wifi.sh: Changed the text so that it will be fully shown in the notification area
authorMichael Mrozek <EvilDragon@openpandora.org>
Wed, 10 Dec 2014 01:10:58 +0000 (02:10 +0100)
committerMichael Mrozek <EvilDragon@openpandora.org>
Wed, 10 Dec 2014 01:10:58 +0000 (02:10 +0100)
recipes/pandora-system/pandora-scripts-wifi.bb
recipes/pandora-system/pandora-scripts-wifi/op_wifi.sh

index 0c93372..df7eb39 100644 (file)
@@ -5,7 +5,7 @@ COMPATIBLE_MACHINE = "omap3-pandora"
 
 RDEPENDS = "pandora-scripts"
 
-PR = "r3"
+PR = "r4"
 
 SRC_URI = " \
           file://op_wifi.sh \
index 8d2759e..e535c67 100644 (file)
@@ -6,10 +6,10 @@
 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
+       notify-send -u normal "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
+       notify-send -u normal "WLAN is being enabled..." -i /usr/share/icons/hicolor/32x32/apps/nm-device-wired.png
        /etc/init.d/wl1251-init start
 fi