aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-03-02 00:48:26 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-03-02 00:48:26 +0000
commit8879fe222d05629aafc56d0ea1d3a89fb7a89c45 (patch)
treeaa5951a7ffbc09625f3abb99603d96b5d347098b
parentf11ef7e50d827fd56d2b39db21b608d1c52d1a49 (diff)
downloadpfsense-packages-8879fe222d05629aafc56d0ea1d3a89fb7a89c45.tar.gz
pfsense-packages-8879fe222d05629aafc56d0ea1d3a89fb7a89c45.tar.bz2
pfsense-packages-8879fe222d05629aafc56d0ea1d3a89fb7a89c45.zip
* & -> &amp;
* rehup radiusd after changes, too
-rw-r--r--packages/freeradius.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/packages/freeradius.xml b/packages/freeradius.xml
index 44fca307..3203e7fb 100644
--- a/packages/freeradius.xml
+++ b/packages/freeradius.xml
@@ -66,7 +66,7 @@
fclose($fout);
mwexec("rm /usr/local/etc/rc.d/radiusd*");
$fout = fopen("/usr/local/etc/rc.d/radiusd.sh","w");
- fwrite($fout,"#!/bin/sh\n\n/usr/local/sbin/radiusd -X -d /usr/local/etc/raddb &\n");
+ fwrite($fout,"#!/bin/sh\n\n/usr/local/sbin/radiusd -X -d /usr/local/etc/raddb &amp;\n");
fclose($fout);
$fout = fopen("/usr/local/etc/radiusd.conf.dynamic","w");
fwrite($fout, "{\nipaddr = 127.0.0.1\nport = 0\ntype = auth\n}\n\n");
@@ -95,6 +95,7 @@
</custom_php_command_before_form>
<custom_add_php_command>
sync_package();
+ system("/usr/bin/killall -HUP radiusd");
</custom_add_php_command>
</packagegui>