diff options
author | Nachtfalkeaw <nachtfalkeaw@web.de> | 2011-08-28 13:11:31 +0300 |
---|---|---|
committer | Nachtfalkeaw <nachtfalkeaw@web.de> | 2011-08-28 13:11:31 +0300 |
commit | 1e8003c16eada5b77df68c6b47325b6906fbdda1 (patch) | |
tree | fa440028c2f0ea362e7b9b421d62ed878df8f125 /config | |
parent | f301853ad9991fb87a5fdbacf8d570af78d5085f (diff) | |
download | pfsense-packages-1e8003c16eada5b77df68c6b47325b6906fbdda1.tar.gz pfsense-packages-1e8003c16eada5b77df68c6b47325b6906fbdda1.tar.bz2 pfsense-packages-1e8003c16eada5b77df68c6b47325b6906fbdda1.zip |
Killing existing radiusd processes before starting "radiusd -s". This should prevent "Error: There appears to be another RADIUS server running on the authentication port 1812" after a reboot of pfsense. This works in my scenario and perhaps resolves problems posted in "Bug #1218"
Diffstat (limited to 'config')
-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(); |