Files
fluffy-pancake/files/etc/skel/.config/firstboot/wait-and-run.sh
T

16 lines
320 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
# Warten, bis wir wirklich in einer grafischen Session sind
until [ -n "${WAYLAND_DISPLAY:-}" ] || [ -n "${DISPLAY:-}" ]; do
sleep 1
done
# UserDBus stabil
until busctl --user list >/dev/null 2>&1; do
sleep 1
done
sleep 2
exec "$HOME/.config/firstboot/firstboot-setup.sh"