aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorNachtfalkeaw <nachtfalkeaw@web.de>2011-09-01 22:13:50 +0300
committerNachtfalkeaw <nachtfalkeaw@web.de>2011-09-01 22:13:50 +0300
commitc2d7b6e3905c970860a9abfa8d29fe33ea1f4617 (patch)
tree28607524dc2ef0d7b60e28647e4a9ac32fda5a1b /config
parentf61fbff3a49cb048020f04c1cadc84c310f6ca27 (diff)
downloadpfsense-packages-c2d7b6e3905c970860a9abfa8d29fe33ea1f4617.tar.gz
pfsense-packages-c2d7b6e3905c970860a9abfa8d29fe33ea1f4617.tar.bz2
pfsense-packages-c2d7b6e3905c970860a9abfa8d29fe33ea1f4617.zip
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.
Diffstat (limited to 'config')
-rw-r--r--config/freeradius.inc4
1 files changed, 2 insertions, 2 deletions
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();