summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-09-04 10:59:25 +0200
committerJuan RP <xtraeme@gmail.com>2014-09-04 10:59:25 +0200
commitb2ed844f4e9ff80f6dd6a6e6483b272ae37ab6ff (patch)
tree26c153be9f20d49e8ff9e4da69e624ceac888475
parentcfc470bf9c37c3b4b0dccf0881b7a7dfe710633b (diff)
downloadrunit-void-b2ed844f4e9ff80f6dd6a6e6483b272ae37ab6ff.tar.gz
runit-void-b2ed844f4e9ff80f6dd6a6e6483b272ae37ab6ff.tar.xz
runit-void-b2ed844f4e9ff80f6dd6a6e6483b272ae37ab6ff.zip
services/lightdm: do not start without dbus.
-rwxr-xr-xservices/lightdm/run1
1 files changed, 1 insertions, 0 deletions
diff --git a/services/lightdm/run b/services/lightdm/run
index 0615cd9..67da733 100755
--- a/services/lightdm/run
+++ b/services/lightdm/run
@@ -1,4 +1,5 @@
 #!/bin/sh
+sv check dbus >/dev/null || exit 1
 [ ! -d /run/lightdm ] && mkdir -p /run/lightdm
 chmod 0711 /run/lightdm
 chown lightdm:lightdm /run/lightdm