From: Lennart Poettering Date: Thu, 12 Apr 2012 00:51:16 +0000 (+0200) Subject: units: start vconsole-setup only if there's actually a virtual console device X-Git-Tag: v183~379 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1d7f3f5cc80434f363e2f1e8284324d317c3faf4;p=systemd units: start vconsole-setup only if there's actually a virtual console device --- diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in index ef222a5f..1420ce8f 100644 --- a/units/systemd-vconsole-setup.service.in +++ b/units/systemd-vconsole-setup.service.in @@ -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