]> git.pld-linux.org Git - packages/ConsoleKit.git/commitdiff
- no longer used
authorPatryk Zawadzki <patrys@room-303.com>
Wed, 23 Jan 2008 22:33:55 +0000 (22:33 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ConsoleKit.init -> 1.3

ConsoleKit.init [deleted file]

diff --git a/ConsoleKit.init b/ConsoleKit.init
deleted file mode 100644 (file)
index c986d5b..0000000
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-#
-# ConsoleKit: ConsoleKit daemon
-#
-# chkconfig: 345 96 4
-# description: The ConsoleKit maintains a list of sessions
-#
-# processname: console-kit-daemon
-# pidfile: /var/run/ConsoleKit/pid
-#
-
-# Sanity checks.
-[ -x /usr/sbin/console-kit-daemon ] || exit 0
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-# so we can rearrange this easily
-processname=console-kit-daemon
-servicename=ConsoleKit
-
-start() {
-       # Check if the service is already running?
-       if [ ! -f /var/lock/subsys/$servicename ]; then
-               msg_starting $servicename
-               daemon $processname
-               RETVAL=$?
-               [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$servicename
-       else
-               msg_already_running $servicename
-       fi
-}
-
-stop() {
-       if [ -f /var/lock/subsys/$servicename ]; then
-               # Stop daemons.
-               msg_stopping $servicename
-               killproc $processname
-               rm -f /var/lock/subsys/$servicename
-       else
-               msg_not_running $servicename
-       fi
-}
-
-RETVAL=0
-# See how we were called.
-case "$1" in
-  start)
-       start
-       ;;
-  stop)
-       stop
-       ;;
-  restart)
-       stop
-       start
-       ;;
-  status)
-       status $processname
-       RETVAL=$?
-       ;;
-  *)
-       msg_usage "$0 {start|stop|restart|status}"
-       exit 3
-esac
-
-exit $RETVAL
This page took 0.064281 seconds and 4 git commands to generate.