You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Descr: This scripts shall be placed in /usr/local/etc/rc.d/ and will be started on boot. It will check if the radiusd process is alive, and reboot the process if it fails.
# Date: 2015-07-28
PROCESS=radiusd
(while :
do
PID=`pgrep ${PROCESS}`
if [ $PID ];
then
kill -0 $PID
if [ $? != 0 ];
then
echo "Radius not respoding.... ristarting radiusd...."