#!/bin/sh

# Runs under forge (--exec), so the Wayland socket is up. This kiosk
# session owns the on-screen keyboard the way crustace's session-init
# does for the desktop: forge only drives its visibility and never
# starts one itself outside the greeter, so start squeekboard here.
command -v squeekboard >/dev/null 2>&1 && squeekboard &

# Keep the wizard on screen for the medium's lifetime: if it exits
# (crash, Escape), relaunch after a beat.

while true
do
	/usr/bin/eydos-installer
	sleep 2
done
