Add unity8-greeter-starting emission so we can start the wizard that way if we want
commitddb0c6e4b67a9dfc5d2f2c17f7247721b5a1b18a
authorMichael Terry <michael.terry@canonical.com>
dateWed 9 Apr 2014, 16:32 (13 years ago)
parentb6fd562
data/unity8-greeter-wrapper+4
@@ -62,6 +62,10 @@ INIT_PID=$!
6262while [ ! -e "$XDG_RUNTIME_DIR/upstart/sessions/$INIT_PID.session" ]; do sleep 0.1; done
6363export UPSTART_SESSION=$(/sbin/initctl list-sessions | grep "^$INIT_PID " | cut -d' ' -f2)
6464
65+# Start any pre-greeter tasks if needed (like wizard)
66+/sbin/initctl emit unity8-greeter-starting
67+
68+# And finally actually start the greeter
6569exec env MIR_SERVER_FILE=$SUB_SOCKET $TOUCH_WRAPPER $@ &
6670CMD_PID=$!
6771wait $CMD_PID