From d8ca0a23baf96c953dfa00f7896aae08e94d4425fc350181d018b301c8311e75 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ji=C5=99=C3=AD=20Suchomel?= Date: Fri, 23 Sep 2011 13:38:07 +0000 Subject: [PATCH] OBS-URL: https://build.opensuse.org/package/show/YaST:Head/yast2-installation?expand=0&rev=125 --- YaST2-Firstboot.service | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/YaST2-Firstboot.service b/YaST2-Firstboot.service index db15bf1..8cdb491 100644 --- a/YaST2-Firstboot.service +++ b/YaST2-Firstboot.service @@ -2,14 +2,17 @@ Description=YaST2 Firstboot After=apparmor.service local-fs.target YaST2-Second-Stage.service Before=getty@tty1.service xdm.service -ConditionPathExists=/var/lib/YaST2/reconfig_system +ConditionPathExists=|/var/lib/YaST2/reconfig_system +ConditionPathExists=|/run/systemd/keep_running [Service] Type=oneshot -#TTYPath=/var/lib/YaST2/run_suseconfig -#StandardOutput=tty +ExecStartPre=/bin/touch /run/systemd/keep_running ExecStart=/usr/lib/YaST2/startup/YaST2.Firstboot ExecStartPost=/bin/rm -f /var/lib/YaST2/reconfig_system +ExecStartPost=/bin/rm -f /run/systemd/keep_running +TimeoutSec=0 +RemainAfterExit=true [Install] WantedBy=default.target