units: start vconsole-setup only if there's actually a virtual console device

This commit is contained in:
Lennart Poettering
2012-04-12 12:58:19 +02:00
parent f2a46f8da5
commit 1d7f3f5cc8
+1
View File
@@ -11,6 +11,7 @@ DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=sysinit.target shutdown.target
ConditionPathExists=/dev/tty0
[Service]
Type=oneshot