2 # Copyright (c) 2001 SuSE GmbH Nuernberg, Germany.
3 # 2002, 2003 SuSE Linux AG, Nuernberg, Germany.
5 # Author: Wolfgang Rosenauer <feedback@suse.de>, 2000-2003
9 # and symbolic its link
15 # Required-Start: $network $syslog $remotefs
18 # Default-Stop: 0 1 2 6
19 # Short-Description: RADIUS-Server
20 # Description: Remote Authentication Dialin User Server
23 RADIUSD_BIN=/usr/sbin/radiusd
24 test -x $RADIUSD_BIN || exit 5
31 echo -n "Starting RADIUS daemon "
32 startproc $RADIUSD_BIN >/dev/null
36 echo -n "Shutting down RADIUS daemon "
37 killproc -TERM $RADIUSD_BIN
41 ## If first returns OK call the second, if first or
42 ## second command fails, set echo return value.
43 $0 status >/dev/null && $0 restart
47 ## Stop the service and regardless of whether it was
48 ## running or not, start it again.
54 ## Signal the daemon to reload its config. Most daemons
55 ## do this on signal 1 (SIGHUP).
56 ## If it does not support it, restart.
58 echo -n "Reload RADIUS daemon "
59 killproc -HUP $RADIUSD_BIN
63 ## Like force-reload, but if daemon does not support
64 ## signalling, do nothing (!)
66 echo -n "Reload RADIUS daemon "
67 killproc -HUP $RADIUSD_BIN
71 echo -n "Checking for service radiusd "
72 checkproc $RADIUSD_BIN
76 echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}"