Switched off screen blanking so that screen won't switch off when
changing date.
COMPATIBLE_MACHINE = "omap3-pandora"
-PR = "r22"
+PR = "r23"
SRC_URI = " \
file://first-run-wizard.sh \
RESET_ROOT="yes"
+xset s off
+
# Greet the user.
if zenity --question --title="Pandoras Box has been opened." --text="Welcome!\n\nPandora's Box has been opened.\n\nThis wizard will help you setting up your new OpenPandora handheld before the first use.\n\nYou will be asked a few simple questions to personalise and configure your device.\n\nDo you want to set up your unit now or shut the unit down and do it later?" --ok-label="Start now" --cancel-label="Shutdown" ; then
# 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
DEPENDS = "zenity dbus"
RDEPENDS = "zenity dbus"
-PR = "r49"
+PR = "r50"
SRC_URI = " \
file://op_bright.sh \
while ! date -d $time ; do
time=$(zenity --title="Enter actual time" --entry --text "Please enter the time in 24hour format (HH:MM):" --entry-text "$time_h:$time_m")
done
-
+
+xset s off
+
date +%Y%m%d -s $date
date +%H:%M -s $time
+
+xset s on
\ No newline at end of file