# The UI as a panel starts it (flare-edge #2210), run with
#   ui-drive.sh --init-chain <dir with the panel's S03warden-accounts,
#   S99lvgl, /usr/lib/warden/warden-ui-run and uid-check.sh> <zImage> this
# ui-drive.sh hands this script over once the UI has drawn a frame and the
# control bridge is up, about 20 to 40 s after boot under TCG. The sleep
# brings the check to roughly T+120 s, past three restarts and the 5 s
# hold-down, so a UI that only lives a few seconds per start is not seen as
# up, and a loop that gave up has had time to set safe mode.
echo init chain: waiting to about T+120 s
sleep 90
assert_ui_chain warden-ui
