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
commit8ab587909719b68652d708ce5cf9d6f4284a1cfa (patch)
treed2fe3e715b6456dd488d717e9664316976d7088e /packaging/rpm/radsecproxy.sysv
parent70d247a1cdf350eaa32c40ba1169fa4bb504e37d (diff)
Sletter packaging fra branches, blir så mye sølrelease-1.2
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.2@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