diff options
author | Chris Buechler <cmb@pfsense.org> | 2011-08-27 16:30:55 -0700 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2011-08-27 16:30:55 -0700 |
commit | e9597c34420c4ac5095ea5df3396901004f5fce5 (patch) | |
tree | 216086ee44e498a76f0efd5a6c0cc3fe5dc9231f | |
parent | 54bd1b2bb729973c0b6bcfe73cc387abc2d7bf6c (diff) | |
parent | 1e8003c16eada5b77df68c6b47325b6906fbdda1 (diff) | |
download | pfsense-packages-e9597c34420c4ac5095ea5df3396901004f5fce5.tar.gz pfsense-packages-e9597c34420c4ac5095ea5df3396901004f5fce5.tar.bz2 pfsense-packages-e9597c34420c4ac5095ea5df3396901004f5fce5.zip |
Merge pull request #45 from Nachtfalkeaw/patch-1
Killing existing radiusd processes before starting "radiusd -s". Bug #1218
-rw-r--r-- | config/freeradius.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/freeradius.inc b/config/freeradius.inc index 6e81f0a0..a50f6c6d 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'] = 'radiusd -s &'; - $rcfile['stop'] = 'killall radiusd'; + $rcfile['start'] = 'killall -9 radiusd ; sleep 5 && radiusd -s &';; + $rcfile['stop'] = 'killall -9 radiusd ; sleep 5'; conf_mount_rw(); write_rcfile($rcfile); conf_mount_ro(); |