summaryrefslogtreecommitdiffstats
path: root/mandriva/2010.2/dependencies/resmgr/resmgr.init
diff options
context:
space:
mode:
Diffstat (limited to 'mandriva/2010.2/dependencies/resmgr/resmgr.init')
-rw-r--r--mandriva/2010.2/dependencies/resmgr/resmgr.init56
1 files changed, 0 insertions, 56 deletions
diff --git a/mandriva/2010.2/dependencies/resmgr/resmgr.init b/mandriva/2010.2/dependencies/resmgr/resmgr.init
deleted file mode 100644
index 815931a09..000000000
--- a/mandriva/2010.2/dependencies/resmgr/resmgr.init
+++ /dev/null
@@ -1,56 +0,0 @@
-#!/bin/bash
-#
-# chkconfig: 2345 15 15
-# description: The resource manager is a framework to give user applications
-# access to certain device files. The resource manager daemon can be configured
-# to give certain users access to different resource classes.
-# processname: resmgr
-# pidfile: /var/run/resmgr.pid
-#
-### BEGIN INIT INFO
-# Provides: resmgr
-# Default-Start: 2 3 4 5
-# Short-Description: A program to allow arbitrary access to device files
-# Description: The resource manager is a framework to give user applications \
-# access to certain device files. The resource manager daemon can be configured \
-# to give certain users access to different resource classes.
-### END INIT INFO
-
-# source function library
-. /etc/rc.d/init.d/functions
-
-RETVAL=0
-
-RESMGR_BIN=/sbin/resmgrd
-
-case "$1" in
- start)
- gprintf "Starting resource manager services: "
- daemon $RESMGR_BIN
- RETVAL=$?
- echo
- [ $RETVAL -eq 0 ] && touch /var/lock/subsys/resmgr
- ;;
- stop)
- gprintf "Shutting down resmgr services: "
- killproc resmgr
- RETVAL=$?
-
- echo
- [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/resmgr
- ;;
- restart|reload)
- $0 stop
- $0 start
- RETVAL=$?
- ;;
- status)
- status resmgr
- RETVAL=$?
- ;;
- *)
- gprintf "Usage: resmgr {start|stop|status|restart|reload}\n"
- exit 1
-esac
-
-exit $RETVAL