Files
fluffy-pancake/files/etc/skel/.config/firstboot/wait-and-run.sh
T
humocs-manandGitHub e267e029a2 Create wait-and-run.sh for first boot initialization
Add wait-and-run.sh script to manage first boot process
2026-03-14 12:22:15 +01:00

19 lines
394 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/usr/bin/env bash
set -euo pipefail
# 1. Warten, bis der UserDBus stabil ist
until busctl --user list >/dev/null 2>&1; do
sleep 1
done
# 2. Warten, bis die COSMICSession wirklich läuft
until pgrep -x cosmic-session >/dev/null; do
sleep 1
done
# 3. Kurze Beruhigungsphase (Panels, Fokus, Autostarts)
sleep 2
# 4. Wizard starten
exec "$HOME/.config/firstboot/firstboot-setup.sh"