2012-02-07 17:31:19 +01:00
|
|
|
[Unit]
|
|
|
|
Description=YaST2 Second Stage
|
2015-04-24 13:59:59 +02:00
|
|
|
# If xinetd is enabled, make sure it's already running so we can stop it during
|
|
|
|
# initialization of the VNC server
|
2015-10-02 14:20:44 +02:00
|
|
|
After=apparmor.service local-fs.target plymouth-start.service
|
2015-12-02 15:46:54 +01:00
|
|
|
Before=getty@tty1.service serial-getty@ttyS0.service serial-getty@ttyS1.service serial-getty@ttyS2.service
|
2016-01-11 16:37:38 +01:00
|
|
|
Before=display-manager.service
|
2012-02-07 17:31:19 +01:00
|
|
|
ConditionPathExists=/var/lib/YaST2/runme_at_boot
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2014-11-04 09:55:06 +01:00
|
|
|
# PX_MODULE_PATH="" ==>
|
|
|
|
# Do not load libproxy modules (config_kde4 module crashes because of Qt4/Qt5
|
|
|
|
# clash), empty path causes that the installed modules are not found. Sysconfig
|
|
|
|
# and envvar extensions are still loaded, /etc/sysconfig/proxy values are still
|
|
|
|
# used correctly (see bnc#866692 and bnc#866692 for details).
|
|
|
|
Environment=SYSTEMCTL_OPTIONS=--ignore-dependencies TERM=linux PX_MODULE_PATH=""
|
2014-07-21 16:41:09 +02:00
|
|
|
# Workaround of bug in plymouth --> using deactivate option
|
|
|
|
# in second boot stage in order to start ncurses yast correctly
|
|
|
|
# (bnc#886488)
|
2015-02-03 11:25:18 +01:00
|
|
|
# If the system starts in multi-user mode plymouth will be quit while
|
|
|
|
# installation in order to ensure that installation will be finished on
|
|
|
|
# console 1 and the login prompt. (bnc#903682,889757,897956)
|
2015-08-11 16:25:30 +02:00
|
|
|
ExecStartPre=-/bin/sh -c 'if [ -x /usr/bin/plymouth ] ; then if [ `/usr/bin/systemctl get-default` = "multi-user.target" ];then /usr/bin/plymouth quit; else /usr/bin/plymouth deactivate --hide-splash; fi; fi'
|
2012-02-07 17:31:19 +01:00
|
|
|
ExecStart=/usr/lib/YaST2/startup/YaST2.Second-Stage
|
|
|
|
RemainAfterExit=yes
|
|
|
|
TimeoutSec=0
|
2014-06-24 14:35:47 +02:00
|
|
|
ExecStartPost=/usr/bin/rm -f /var/lib/YaST2/runme_at_boot
|
2013-09-26 12:10:30 +02:00
|
|
|
ExecStartPost=/usr/bin/systemctl restart systemd-vconsole-setup.service
|
2012-02-07 17:31:19 +01:00
|
|
|
StandardInput=tty
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=default.target
|