#!/bin/sh

# Autologin dispatcher: the install medium gets the kiosk wizard
# session, a first boot on the final disk (configure-pending, set by
# `eydos-installer firstboot`) gets the full desktop with the wizard's
# user unit on top.

if [ -e /var/lib/eydos-installer/install-pending ]
then
	exec /usr/bin/eydos-installer-session
fi
exec /usr/bin/crustace-session
