diff options
author | Linus Nordberg <linus@nordu.net> | 2010-06-11 23:32:24 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2010-06-11 23:32:24 +0200 |
commit | 5739cce08d7880f0dc2e7b01d514a8e5a5f31b8a (patch) | |
tree | 733939a7d208e62ca85b38b2810bb49af5bd7448 /packaging/rpm/radsecproxy.sysv | |
parent | e56c32c085ac82409e28ec425e2833516652836d (diff) |
Remove packaging/{portage,rpm}. They're ancient and don't receive any
love no more.
Diffstat (limited to 'packaging/rpm/radsecproxy.sysv')
-rw-r--r-- | packaging/rpm/radsecproxy.sysv | 81 |
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 |