No longer needed
authorAlan T. DeKok <aland@freeradius.org>
Thu, 20 May 2010 13:25:51 +0000 (15:25 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 24 May 2010 05:39:14 +0000 (07:39 +0200)
redhat/rc.radiusd-redhat [deleted file]

diff --git a/redhat/rc.radiusd-redhat b/redhat/rc.radiusd-redhat
deleted file mode 100755 (executable)
index 4b9685b..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-#!/bin/sh
-#
-# chkconfig: - 88 10
-# description: Start/Stop the RADIUS server daemon
-#
-#    This program is free software; you can redistribute it and/or modify
-#    it under the terms of the GNU General Public License as published by
-#    the Free Software Foundation; either version 2 of the License, or
-#    (at your option) any later version.
-#
-#    This program is distributed in the hope that it will be useful,
-#    but WITHOUT ANY WARRANTY; without even the implied warranty of
-#    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-#    GNU General Public License for more details.
-#
-#    You should have received a copy of the GNU General Public License
-#    along with this program; if not, write to the Free Software
-#    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
-#
-#    Copyright (C) 2001 The FreeRADIUS Project   http://www.freeradius.org
-#
-
-# Source function library.
-. /etc/rc.d/init.d/functions
-
-RADIUSD=/usr/sbin/radiusd
-LOCKF=/var/lock/subsys/radiusd
-CONFIG=/etc/raddb/radiusd.conf
-
-[ -f $RADIUSD ] || exit 0
-[ -f $CONFIG ] || exit 0
-
-RETVAL=0
-
-case "$1" in
-  start)
-       echo -n $"Starting RADIUS server: "
-       daemon $RADIUSD
-       RETVAL=$?
-       echo
-       [ $RETVAL -eq 0 ] && touch $LOCKF &&
-           ln -s /var/run/radiusd/radiusd.pid /var/run/radiusd.pid 2>/dev/null
-       ;;
-  stop)
-       echo -n $"Stopping RADIUS server: "
-       killproc $RADIUSD
-       RETVAL=$?
-       echo
-       [ $RETVAL -eq 0 ] && rm -f $LOCKF
-       ;;
-  status)
-       status radiusd
-       RETVAL=$?
-        ;;
-  reload)
-       echo -n $"Reloading RADIUS server: "
-       killproc $RADIUSD -HUP
-       RETVAL=$?
-       echo
-       ;;
-  restart)
-       $0 stop
-       sleep 3
-       $0 start
-       RETVAL=$?
-       ;;
-  condrestart)
-       if [ -f $LOCKF ]; then
-               $0 stop
-               sleep 3
-               $0 start
-               RETVAL=$?
-       fi
-       ;;
-  *)
-       echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}"
-       exit 1
-esac
-
-exit $RETVAL