2 # Copyright (c) 2001 SuSE GmbH Nuernberg, Germany.
4 # Author: Wolfgang Rosenauer <feedback@suse.de>, 2000, 2001
8 # and symbolic its link
14 # Required-Start: $network $syslog $remotefs
17 # Default-Stop: 0 1 2 6
18 # Description: RADIUS-Server
24 test -x /usr/sbin/radiusd || exit 5
29 echo -n "Starting service radiusd"
30 startproc /usr/sbin/radiusd
34 echo -n "Shutting down service radiusd"
35 killproc -TERM /usr/sbin/radiusd
39 ## If first returns OK call the second, if first or
40 ## second command fails, set echo return value.
45 ## Stop the service and regardless of whether it was
46 ## running or not, start it again.
52 ## Signal the daemon to reload its config. Most daemons
53 ## do this on signal 1 (SIGHUP).
54 ## If it does not support it, restart.
56 echo -n "Reload service radiusd"
57 killproc -HUP /usr/sbin/radiusd
61 ## Like force-reload, but if daemon does not support
62 ## signalling, do nothing (!)
64 echo -n "Reload service radiusd"
65 killproc -HUP /usr/sbin/radiusd
69 echo -n "Checking for service radiusd: "
70 checkproc /usr/sbin/radiusd
74 echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload}"