summaryrefslogtreecommitdiff
path: root/packaging/rpm/radsecproxy.sysv
diff options
context:
space:
mode:
authorkolla <kolla>2009-02-27 12:46:59 +0000
committerkolla <kolla@e88ac4ed-0b26-0410-9574-a7f39faa03bf>2009-02-27 12:46:59 +0000
commitc33a6b78928b61da9fbb758e000b9baeab7f13f1 (patch)
treef5c5b688b1b3e75a692e6abe318ff1c500231304 /packaging/rpm/radsecproxy.sysv
parentcc188d08de8b41ade630bc5da44f7ebac9ca9f07 (diff)
Sletter packaging fra branches, blir så mye søl
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.3@484 e88ac4ed-0b26-0410-9574-a7f39faa03bf
Diffstat (limited to 'packaging/rpm/radsecproxy.sysv')
-rw-r--r--packaging/rpm/radsecproxy.sysv81
1 files changed, 0 insertions, 81 deletions
diff --git a/packaging/rpm/radsecproxy.sysv b/packaging/rpm/radsecproxy.sysv
deleted file mode 100644
index 38a5055..0000000
--- a/packaging/rpm/radsecproxy.sysv
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/bin/bash
-#
-# init script for radsecproxy
-#
-# chkconfig: 345 95 05
-# description: RADIUS UDP and RADSEC proxy
-#
-# config: /etc/radsecproxy.conf
-
-source /etc/init.d/functions
-source /etc/sysconfig/network
-
-# Check that networking is up.
-[ ${NETWORKING} = "no" ] && exit 0
-
-[ -x /usr/sbin/radsecproxy ] || exit 1
-[ -f /etc/radsecproxy.conf ] || exit 1
-
-RETVAL=0
-prog="radsecproxy"
-desc="RADSEC Proxying"
-
-start() {
- echo -n $"Starting $desc ($prog): "
- daemon /usr/sbin/$prog || RETVAL=1
-
- if [ $RETVAL -eq 0 ]; then
- success "$prog startup"
- rm -f /var/lock/subsys/$prog
- else
- failure "$prog startup"
- fi
-
- echo
- return $RETVAL
-}
-
-stop() {
- echo -n $"Stopping $desc ($prog): "
- killproc $prog || RETVAL=1
-
- if [ $RETVAL -eq 0 ]; then
- success "$prog shutdown"
- rm -f /var/lock/subsys/$prog
- else
- failure "$prog shutdown"
- fi
-
- echo
- return $RETVAL
-}
-
-restart() {
- stop
- start
-}
-
-case "$1" in
- start)
- start
- ;;
- stop)
- stop
- ;;
- restart|reload)
- restart
- ;;
- condrestart)
- [ -e /var/lock/subsys/$prog ] && restart
- RETVAL=$?
- ;;
- status)
- status $prog
- RETVAL=$?
- ;;
- *)
- echo $"Usage $0 {start|stop|restart|reload|condrestart|status}"
- RETVAL=1
-esac
-
-exit $RETVAL