[maemo-commits] [maemo-commits] r10331 - projects/haf/trunk/osso-af-startup/services
From: subversion at stage.maemo.org subversion at stage.maemo.orgDate: Fri Mar 2 16:40:18 EET 2007
- Previous message: [maemo-commits] r10330 - in projects/haf/trunk/libosso: debian src
- Next message: [maemo-commits] r10332 - in projects/haf/branches/hildon-libs/hildon-1: . examples src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Author: schulhof
Date: 2007-03-02 16:40:11 +0200 (Fri, 02 Mar 2007)
New Revision: 10331
Modified:
projects/haf/trunk/osso-af-startup/services/real-af-startup
Log:
Added reference to new wizard-background.sh script.
Modified: projects/haf/trunk/osso-af-startup/services/real-af-startup
===================================================================
--- projects/haf/trunk/osso-af-startup/services/real-af-startup 2007-03-02 14:03:22 UTC (rev 10330)
+++ projects/haf/trunk/osso-af-startup/services/real-af-startup 2007-03-02 14:40:11 UTC (rev 10331)
@@ -47,20 +47,32 @@
/etc/osso-af-init/maemo-launcher start
fi
- if [ -x /etc/osso-af-init/startup-greeting.sh ]; then
- source /etc/osso-af-init/startup-greeting.sh start
+ if [ -x $AF_INIT_DIR/startup-greeting.sh ]; then
+ source $AF_INIT_DIR/startup-greeting.sh start
fi
if [ -e $HOME/first-boot-flag ]; then
+
+ if [ -x $AF_INIT_DIR/wizard-background.sh ]; then
+ source $AF_INIT_DIR/wizard-background.sh start
+ fi
+
if [ -x $AF_INIT_DIR/startup-wizard.sh ]; then
source $AF_INIT_DIR/startup-wizard.sh start
source $AF_INIT_DIR/af-defines.sh ;# re-read locale variables
# show progress animation
- /usr/sbin/anim-shower 17000 &
+ if [ ! -x /usr/bin/wizback ]; then
+ /usr/sbin/anim-shower 17000 &
+ fi
# restart processes because the locale might have changed
source $AF_INIT_DIR/after-suw-process-restart.sh
fi
+ if [ -x /usr/bin/wizback ]; then
+ echo "wizback: Advancing"
+ dbus-send --print-reply --system --dest=org.maemo.WizardBackground / org.maemo.WizardBackground.advance
+ fi
+
# Give Backup a chance to restore settings automatically
if [ -x $AF_INIT_DIR/osso-backup-startup.sh ]; then
$AF_INIT_DIR/osso-backup-startup.sh
@@ -70,6 +82,12 @@
-a ! -f /tmp/suw-user-cancelled.tmp ]; then
$AF_INIT_DIR/osso-connectivity-ui-gwwizard-startup.sh start
fi
+
+ if [ -x /usr/bin/wizback ]; then
+ echo "wizback: Advancing"
+ dbus-send --print-reply --system --dest=org.maemo.WizardBackground / org.maemo.WizardBackground.advance
+ fi
+
if [ -f $TMPDIR/launch-operator-wizard.tmp \
-a ! -f /tmp/suw-user-cancelled.tmp ]; then
if [ -x $AF_INIT_DIR/operator-wizard.sh ]; then
@@ -77,6 +95,15 @@
fi
rm -f $TMPDIR/launch-operator-wizard.tmp
fi
+
+ if [ -x /usr/bin/wizback ]; then
+ echo "wizback: Advancing"
+ dbus-send --print-reply --system --dest=org.maemo.WizardBackground / org.maemo.WizardBackground.advance
+ sleep 1
+ echo "wizback: Quitting"
+ dbus-send --print-reply --system --dest=org.maemo.WizardBackground / org.maemo.WizardBackground.quit
+ fi
+
rm -f $HOME/first-boot-flag
rm -f /tmp/suw-user-cancelled.tmp
else
- Previous message: [maemo-commits] r10330 - in projects/haf/trunk/libosso: debian src
- Next message: [maemo-commits] r10332 - in projects/haf/branches/hildon-libs/hildon-1: . examples src
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
