Enhance firstboot-setup.service with dependencies
Added dependencies and environment variables for firstboot service.
This commit is contained in:
@@ -1,9 +1,18 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=First Boot Wizard
|
Description=First Boot Wizard
|
||||||
ConditionPathExists=%h/.config/firstboot/run
|
ConditionPathExists=%h/.config/firstboot/run
|
||||||
|
After=graphical-session.target
|
||||||
|
Wants=graphical-session.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
||||||
|
# Kleiner Puffer für VMs, auf echter Hardware praktisch irrelevant
|
||||||
|
ExecStartPre=/usr/bin/sleep 2
|
||||||
|
|
||||||
|
# Verhindert MESA/ZINK-Fehler in VMs, auf echter Hardware unkritisch
|
||||||
|
Environment=LIBGL_ALWAYS_SOFTWARE=1
|
||||||
|
|
||||||
ExecStart=%h/.config/firstboot/firstboot-setup.sh
|
ExecStart=%h/.config/firstboot/firstboot-setup.sh
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
|
|||||||
Reference in New Issue
Block a user