ConsoleKit: rework init scripts

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2011-01-09 03:51:42 +01:00
parent 21d5674291
commit ff5b0191b7

View File

@ -1,5 +1,3 @@
#!/bin/sh
################################################################################ ################################################################################
# Copyright (C) 2009-2010 OpenELEC.tv # Copyright (C) 2009-2010 OpenELEC.tv
# http://www.openelec.tv # http://www.openelec.tv
@ -24,13 +22,11 @@
# #
# runlevels: openelec, textmode # runlevels: openelec, textmode
. /etc/profile
( (
progress "starting ConsoleKit daemon" progress "starting ConsoleKit daemon"
$IONICE install -m 755 -d /var/log/ConsoleKit install -m 755 -d /var/log/ConsoleKit
$IONICE install -m 755 -d /var/run/ConsoleKit install -m 755 -d /var/run/ConsoleKit
console-kit-daemon console-kit-daemon
ck-launch-session ck-launch-session