aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-09-01 12:17:49 -0700
committerChris Buechler <cmb@pfsense.org>2011-09-01 12:17:49 -0700
commitc0a8833d876fba5d333d1a944042eddc440802b4 (patch)
tree28607524dc2ef0d7b60e28647e4a9ac32fda5a1b /config
parentf61fbff3a49cb048020f04c1cadc84c310f6ca27 (diff)
parentc2d7b6e3905c970860a9abfa8d29fe33ea1f4617 (diff)
downloadpfsense-packages-c0a8833d876fba5d333d1a944042eddc440802b4.tar.gz
pfsense-packages-c0a8833d876fba5d333d1a944042eddc440802b4.tar.bz2
pfsense-packages-c0a8833d876fba5d333d1a944042eddc440802b4.zip
Merge pull request #51 from Nachtfalkeaw/patch-7
freeRADIUS: added some really simple and bad coded syslog output. So it i
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();