summaryrefslogtreecommitdiff
path: root/source/a/sysvinit-scripts/scripts/rc.M
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/sysvinit-scripts/scripts/rc.M')
-rw-r--r--source/a/sysvinit-scripts/scripts/rc.M6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/a/sysvinit-scripts/scripts/rc.M b/source/a/sysvinit-scripts/scripts/rc.M
index b3490eb5..5bdf6ed4 100644
--- a/source/a/sysvinit-scripts/scripts/rc.M
+++ b/source/a/sysvinit-scripts/scripts/rc.M
@@ -116,9 +116,11 @@ if [ -x /etc/rc.d/rc.messagebus ]; then
/etc/rc.d/rc.messagebus start
fi
-# Start console-kit-daemon:
-if [ -x /etc/rc.d/rc.consolekit ]; then
+# Start the session/seat daemon:
+if [ -x /etc/rc.d/rc.consolekit -a -x /usr/sbin/console-kit-daemon ]; then
/etc/rc.d/rc.consolekit start
+elif [ -x /etc/rc.d/rc.elogind ]; then
+ /etc/rc.d/rc.elogind start
fi
# Start Bluetooth: