From bc08f59e74314bc05c93e1e2be4cca759f566e13 Mon Sep 17 00:00:00 2001 From: nocode Date: Tue, 7 Jul 2026 02:47:48 +0200 Subject: [PATCH] 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. --- .../releng/airootfs/usr/local/bin/fws-recovery-session | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 configs/releng/airootfs/usr/local/bin/fws-recovery-session diff --git a/configs/releng/airootfs/usr/local/bin/fws-recovery-session b/configs/releng/airootfs/usr/local/bin/fws-recovery-session new file mode 100755 index 0000000..56ec69d --- /dev/null +++ b/configs/releng/airootfs/usr/local/bin/fws-recovery-session @@ -0,0 +1,8 @@ +#!/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