Commit 9b9528c3 authored by Michael Biebl's avatar Michael Biebl

getty-static.service: Only start if we have a working VC subsystem

Use ConditionPathExists=/dev/tty0, the same check as in getty@.service,
to determine whether we have a functional VC subsystem and we should
start any gettys.

Closes: #824779
parent ec5450c5
[Unit]
Description=getty on tty2-tty6 if dbus and logind are not available
ConditionPathExists=/dev/tty2
ConditionPathExists=/dev/tty0
ConditionPathExists=!/lib/systemd/system/dbus.service
[Service]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment