summaryrefslogtreecommitdiffstats
path: root/units/systemd-vconsole-setup.service.in
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 /units/systemd-vconsole-setup.service.in
parentunits: run sysctl stuff only when /proc/sys is actually writable, to quieten ... (diff)
downloadsystemd-1d7f3f5cc80434f363e2f1e8284324d317c3faf4.tar.xz
systemd-1d7f3f5cc80434f363e2f1e8284324d317c3faf4.zip
units: start vconsole-setup only if there's actually a virtual console device
Diffstat (limited to 'units/systemd-vconsole-setup.service.in')
-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