From c2d7b6e3905c970860a9abfa8d29fe33ea1f4617 Mon Sep 17 00:00:00 2001 From: Nachtfalkeaw Date: Thu, 1 Sep 2011 22:13:50 +0300 Subject: freeRADIUS: added some really simple and bad coded syslog output. So it is possible to see if freeRADIUS is starting/stopping in syslog. There wasn't any output in the past. --- config/freeradius.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/freeradius.inc') diff --git a/config/freeradius.inc b/config/freeradius.inc index 5f63c87c..0a41ed43 100644 --- a/config/freeradius.inc +++ b/config/freeradius.inc @@ -26,8 +26,8 @@ function freeradius_install_command() { $rcfile = array(); $rcfile['file'] = 'radiusd.sh'; - $rcfile['start'] = 'killall -9 radiusd ; sleep 5 && radiusd -s &'; - $rcfile['stop'] = 'killall -9 radiusd ; sleep 5'; + $rcfile['start'] = 'logger -f /var/log/system.log "freeRADIUS rc_start: killing all existing radiusd processes" && killall -9 radiusd ; sleep 5 && logger -f /var/log/system.log "freeRADIUS rc_start: starting radiusd " ; radiusd -s &'; + $rcfile['stop'] = 'logger -f /var/log/system.log "freeRADIUS rc_stop: killing all existing radiusd processes" && killall -9 radiusd ; sleep 5 && logger -f /var/log/system.log "freeRADIUS rc_stop: radiusd has quit"'; conf_mount_rw(); write_rcfile($rcfile); conf_mount_ro(); -- cgit v1.2.3