Files
FWS-ISO/configs/releng/airootfs/usr/local/bin/fws-recovery-session
nocode bc08f59e74 feat(releng): add fws-recovery-session script for recovery mode
Add a new script that launches an X session with Openbox and the fws-recovery-gui application. This script is executed by startx during the FWS repair boot entry, providing a minimal graphical environment with Openbox as a fallback if the GUI crashes.
2026-07-07 02:47:48 +02:00

9 lines
321 B
Bash
Executable File

#!/bin/sh
# FWS — session X du mode réparation. Lancé par startx (cf. /root/.zprofile,
# entrée de boot « Réparer FWS »). Openbox minimal + l'application GTK
# fws-recovery-gui. Si la GUI meurt, openbox reste pour un xterm de secours.
xsetroot -solid "#1a1a2e" 2>/dev/null
openbox &
fws-recovery-gui
exec openbox