summaryrefslogtreecommitdiff
path: root/source/l/ConsoleKit2/rc.consolekit
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/ConsoleKit2/rc.consolekit')
-rw-r--r--source/l/ConsoleKit2/rc.consolekit34
1 files changed, 0 insertions, 34 deletions
diff --git a/source/l/ConsoleKit2/rc.consolekit b/source/l/ConsoleKit2/rc.consolekit
deleted file mode 100644
index a1937569..00000000
--- a/source/l/ConsoleKit2/rc.consolekit
+++ /dev/null
@@ -1,34 +0,0 @@
-#!/bin/sh
-#
-# /etc/rc.d/rc.consolekit
-#
-# Start/stop consolekit-kit daemon.
-#
-# This daemon is used by polkit's console auth agent.
-
-# Start consolekit:
-ck_start() {
- echo "Starting ConsoleKit daemon: /usr/sbin/console-kit-daemon"
- /usr/sbin/console-kit-daemon
-}
-
-# Stop consolekit:
-ck_stop() {
- if [ -r /var/run/ConsoleKit/pid ]; then
- kill -HUP $(cat /var/run/ConsoleKit/pid)
- rm -f /var/run/ConsoleKit/pid
- else
- killall -HUP -q console-kit-daemon
- fi
-}
-
-case "$1" in
-'start')
- ck_start
- ;;
-'stop')
- ck_stop
- ;;
-*)
- echo "Usage: $0 start|stop"
-esac