Changes to systemd service files
---
systemd/firstboot-graphical.service | 3 +--
systemd/firstboot-text.service | 4 ++--
2 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/systemd/firstboot-graphical.service b/systemd/firstboot-graphical.service
index e8ea8fd..2a5f86d 100644
--- a/systemd/firstboot-graphical.service
+++ b/systemd/firstboot-graphical.service
@@ -8,8 +8,7 @@ Conflicts=firstboot-text.service plymouth-quit.service
Type=oneshot
ExecStartPre=-/bin/plymouth quit
ExecStart=/usr/sbin/firstboot
-ExecStartPost=/bin/systemctl disable firstboot-graphical.service
-ExecStartPost=/bin/systemctl disable firstboot-text.service
+ExecStartPost=/bin/systemctl disable firstboot-graphical.service firstboot-text.service
TimeoutSec=0
RemainAfterExit=yes
SysVStartPriority=99
diff --git a/systemd/firstboot-text.service b/systemd/firstboot-text.service
index f675720..fbed251 100644
--- a/systemd/firstboot-text.service
+++ b/systemd/firstboot-text.service
@@ -2,12 +2,12 @@
Description=firstboot configuration program (text mode)
After=livesys.service plymouth-quit.service
Before=prefdm.service getty@tty1.service
+Conflicts=firstboot-graphical.service plymouth-quit.service
[Service]
Type=oneshot
ExecStart=/usr/bin/setup
-ExecStartPost=/bin/systemctl disable firstboot-graphical.service
-ExecStartPost=/bin/systemctl disable firstboot-text.service
+ExecStartPost=/bin/systemctl disable firstboot-graphical.service firstboot-text.service
TimeoutSec=0
RemainAfterExit=yes
SysVStartPriority=99
--
1.7.3.2
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
|