summaryrefslogtreecommitdiffstats
path: root/systemd/initial-setup-graphical.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/initial-setup-graphical.service')
-rw-r--r--systemd/initial-setup-graphical.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/systemd/initial-setup-graphical.service b/systemd/initial-setup-graphical.service
new file mode 100644
index 0000000..b4526ad
--- /dev/null
+++ b/systemd/initial-setup-graphical.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Inital Setup configuration program
+After=livesys.service plymouth-quit.service
+Before=display-manager.service getty@tty1.service
+Conflicts=plymouth-quit.service initial-setup-text.service
+PartOf=initial-setup-xserver.service
+
+[Service]
+Type=oneshot
+ExecStartPre=-/bin/plymouth quit
+ExecStart=DISPLAY=:9 /usr/sbin/initial-setup
+ExecStartPost=/bin/systemctl disable initial-setup-graphical.service
+TimeoutSec=0
+RemainAfterExit=yes
+SysVStartPriority=99
+
+[Install]
+WantedBy=graphical.target