pandora-first-run-wizard: Fixed screen blanking after setting time
authorMichael Mrozek <EvilDragon@openpandora.de>
Mon, 19 Sep 2011 02:01:12 +0000 (04:01 +0200)
committerMichael Mrozek <EvilDragon@openpandora.de>
Mon, 19 Sep 2011 02:01:12 +0000 (04:01 +0200)
recipes/pandora-system/pandora-first-run-wizard.bb
recipes/pandora-system/pandora-first-run-wizard/first-run-wizard.sh

index 1c29d87..a28f4c7 100755 (executable)
@@ -6,7 +6,7 @@ RDEPENDS = "hsetroot zenity dbus pandora-wallpaper-official tslib tslib-calibrat
 
 COMPATIBLE_MACHINE = "omap3-pandora"
 
-PR = "r23"
+PR = "r24"
 
 SRC_URI = " \
           file://first-run-wizard.sh \
index bf32b47..256f995 100755 (executable)
@@ -22,7 +22,7 @@ ERROR_WINDOW='zenity --title="Error" --error --text="Sorry! Please try again." -
 
 RESET_ROOT="yes"
 
-xset s off
+DISPLAY=:0 xset s off
 
 # Greet the user.
 
@@ -243,7 +243,6 @@ touch /etc/pandora/first-boot
 # Make the control file writeable by all to allow the user to delete to rerun the wizard on next boot.
 chmod 0666 /etc/pandora/first-boot
 
-xset s on
 # ----
 else
 poweroff