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.
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user