From 7691718fdecdc399803b9fd4c41d42e8d1e86afc Mon Sep 17 00:00:00 2001 From: kolla Date: Fri, 27 Feb 2009 12:46:59 +0000 Subject: =?UTF-8?q?Sletter=20packaging=20fra=20branches,=20blir=20s=C3=A5?= =?UTF-8?q?=20mye=20s=C3=B8l?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.0@484 e88ac4ed-0b26-0410-9574-a7f39faa03bf --- packaging/rpm/radsecproxy.sysv | 81 ------------------------------------------ 1 file changed, 81 deletions(-) delete mode 100644 packaging/rpm/radsecproxy.sysv (limited to 'packaging/rpm/radsecproxy.sysv') 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 -- cgit v1.1