#!/sbin/openrc-run # B14: Cage + aurora-ui on the ST7735S (installed as /etc/init.d/aurora-ui; NOT in any runlevel until a separate GO). # Starts early: needs only the display (fbcon/backlight) and NCM for diagnostics; the modem/Wi-Fi keep starting in parallel — # aurora-ui itself shows "MODEM STARTING" until the modem controller reports START OK. Boot never depends on the GUI: # a failing UI just leaves fbcon/getty on tty1. `rc-service aurora-ui stop` returns the console. description="Aurora 128x128 status UI (Cage + SDL2 Wayland)" depend() { need aurora-display; after aurora-ncm aurora-ro; } start() { ebegin "aurora-ui (Cage + SDL2)" ( sh /usr/local/lib/b14/run/ui-up.sh --stop-gui >> /run/aurora-ui.service.log 2>&1 ) & eend 0 } stop() { ebegin "aurora-ui stop"; sh /usr/local/lib/b14/run/ui-stop.sh >> /run/aurora-ui.service.log 2>&1; eend 0; } status() { sh /usr/local/lib/b14/run/ui-status.sh; }