FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 04-01-2011, 10:05 AM
Martin Gracik
 
Default 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
 

Thread Tools




All times are GMT. The time now is 03:21 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org