feat: install and Xfce
[50][DONE]
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
#!/bin/sh
|
||||
# Lancé par startx (cf. /root/.zprofile)
|
||||
# Lancé par startx (cf. /root/.zprofile), uniquement dans le live FWS.
|
||||
if [ ! -d /run/archiso ]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
xsetroot -solid "#1a1a2e"
|
||||
openbox &
|
||||
sleep 1
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Démarrage automatique de Xorg + Calamares sur tty1 (autologin root).
|
||||
# La session X exécute /root/.xinitrc qui lance Openbox + Calamares.
|
||||
if [[ "$(tty)" == "/dev/tty1" && -z "$DISPLAY" ]]; then
|
||||
# Démarrage automatique de Xorg + Calamares uniquement dans le live FWS.
|
||||
# Sur le système installé, /run/archiso n'existe pas, donc rien ne se lance.
|
||||
if [[ -d /run/archiso && "$(tty)" == "/dev/tty1" && -z "$DISPLAY" ]]; then
|
||||
exec startx -- vt1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user