]> err.no Git - systemd/commitdiff
units: start vconsole-setup only if there's actually a virtual console device
authorLennart Poettering <lennart@poettering.net>
Thu, 12 Apr 2012 00:51:16 +0000 (02:51 +0200)
committerLennart Poettering <lennart@poettering.net>
Thu, 12 Apr 2012 10:58:19 +0000 (12:58 +0200)
units/systemd-vconsole-setup.service.in

index ef222a5f7dce4f649b8b10615ea71e564d00240d..1420ce8f62753d1ce7d68bfb2b93312cd33ef026 100644 (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