ConsoleKit: depends on dbus, so wait for it & respawn

This commit is contained in:
Stefan Saraev 2013-06-12 21:23:01 +03:00 committed by Stephan Raue
parent 46f3591d90
commit a0e553dca6

View File

@ -26,4 +26,8 @@ progress "starting ConsoleKit daemon"
install -m 755 -d /var/log/ConsoleKit
install -m 755 -d /var/run/ConsoleKit
console-kit-daemon
while true; do
wait_for_dbus
console-kit-daemon --no-daemon &>/dev/null
usleep 500000
done &