]> git.openpandora.org Git - openpandora.oe.git/commitdiff
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 1c29d8725af0a76c152e7bc0c07699efbe0416ca..a28f4c7b670fbcccd20d19265edaccced5641d50 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 bf32b4759589fe551f5f44bd8f68687b6eba4ede..256f9952d0b43003f82aa54f5d5bda4746b678ea 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