[firstboot 09/13] New systemd service files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 systemd/firstboot-graphical.service |    7 ++++---
 systemd/firstboot-text.service      |    7 ++++---
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/systemd/firstboot-graphical.service b/systemd/firstboot-graphical.service
index 77f1325..e8ea8fd 100644
--- a/systemd/firstboot-graphical.service
+++ b/systemd/firstboot-graphical.service
@@ -5,12 +5,13 @@ Before=prefdm.service getty@xxxxxxxxxxxx
 Conflicts=firstboot-text.service plymouth-quit.service
 
 [Service]
-Environment=RUNLEVEL=5
+Type=oneshot
 ExecStartPre=-/bin/plymouth quit
-ExecStart=/etc/init.d/firstboot start
+ExecStart=/usr/sbin/firstboot
+ExecStartPost=/bin/systemctl disable firstboot-graphical.service
+ExecStartPost=/bin/systemctl disable firstboot-text.service
 TimeoutSec=0
 RemainAfterExit=yes
-Type=oneshot
 SysVStartPriority=99
 
 [Install]
diff --git a/systemd/firstboot-text.service b/systemd/firstboot-text.service
index bcf59bf..f675720 100644
--- a/systemd/firstboot-text.service
+++ b/systemd/firstboot-text.service
@@ -4,11 +4,12 @@ After=livesys.service plymouth-quit.service
 Before=prefdm.service getty@xxxxxxxxxxxx
 
 [Service]
-Environment=RUNLEVEL=3
-ExecStart=/etc/init.d/firstboot start
+Type=oneshot
+ExecStart=/usr/bin/setup
+ExecStartPost=/bin/systemctl disable firstboot-graphical.service
+ExecStartPost=/bin/systemctl disable firstboot-text.service
 TimeoutSec=0
 RemainAfterExit=yes
-Type=oneshot
 SysVStartPriority=99
 StandardInput=tty
 TTYPath=/dev/tty1
-- 
1.7.3.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux