summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-04-12 02:51:16 +0200
committerLennart Poettering <lennart@poettering.net>2012-04-12 12:58:19 +0200
commit1d7f3f5cc80434f363e2f1e8284324d317c3faf4 (patch)
tree93dcd4b717915cfbdf56a3c89665f13de8a2966d
parentf2a46f8da51aeab1a34dd250e8ac48f2465bf095 (diff)
units: start vconsole-setup only if there's actually a virtual console device
-rw-r--r--units/systemd-vconsole-setup.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/units/systemd-vconsole-setup.service.in b/units/systemd-vconsole-setup.service.in
index ef222a5f7d..1420ce8f62 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