#!/bin/sh
# chkconfig: 345 91 35
# description: This package provides a RADIUS authentication and accounting\
#              server. This server includes Ascend's extensions for their range\
#              of terminal servers and includes support for logging accounting\
#              information into a MySQL database.
# processname: radiusd
# config: /etc/raddb/*

# Source function library.
. /etc/rc.d/init.d/functions

# See how we were called.
case "$1" in
  start)
	echo -n "Starting RADIUS server: "
		daemon radiusd
	echo ""
	touch /var/lock/subsys/radiusd
	;;
  stop)
	echo "Shutting down RADIUS server: "
	killall radiusd
	rm -f /var/lock/subsys/atalk
	;;
  restart|reload)
	$0 stop
	$0 start
	;;
  *)
	echo "Usage: atalk {start|stop|restart}"
	exit 1
esac

