]>
git.ipfire.org Git - ipfire-2.x.git/blob - src/initscripts/packages/freeradius
2 ########################################################################
3 # Begin $rc_base/init.d/freeradius
5 # Description : Initscript for the FreeRADIUS Server
6 ########################################################################
13 # Create necessary directories
14 mkdir
-p /var
/run
/radiusd
16 boot_mesg
"Starting FreeRADIUS server..."
17 loadproc
/usr
/sbin
/radiusd
-d /etc
/raddb
21 boot_mesg
"Stopping FreeRADIUS server..."
22 killproc
/usr
/sbin
/radiusd
26 boot_mesg
"Reloading FreeRADIUS server..."
27 reloadproc
/usr
/sbin
/radiusd
37 statusproc
/usr
/sbin
/radiusd
41 echo "Usage: ${0} {start|stop|reload|restart|status}"
46 # End $rc_base/init.d/freeradius