aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-02-20 02:08:33 +0000
committerColin Smith <colin@pfsense.org>2005-02-20 02:08:33 +0000
commit18a00a41e27dfc7486077c2a90721e36a1c562ba (patch)
treee38a395d1835bdc0f7234971108a0f03be00fbf1
parentdfd49713121ee64239c685c1ec840dd65718a677 (diff)
downloadpfsense-packages-18a00a41e27dfc7486077c2a90721e36a1c562ba.tar.gz
pfsense-packages-18a00a41e27dfc7486077c2a90721e36a1c562ba.tar.bz2
pfsense-packages-18a00a41e27dfc7486077c2a90721e36a1c562ba.zip
Write default listen directive for localhost on install.
-rw-r--r--packages/freeradius.xml3
1 files changed, 3 insertions, 0 deletions
diff --git a/packages/freeradius.xml b/packages/freeradius.xml
index ccdf0fa4..163eb720 100644
--- a/packages/freeradius.xml
+++ b/packages/freeradius.xml
@@ -67,6 +67,9 @@
$fout = fopen("/usr/local/etc/rc.d/radiusd.sh","w");
fwrite($fout,"#!/bin/sh\n\n/usr/local/sbin/radiusd -d /usr/local/etc/raddb\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")
+ fclose($fout);
mwexec("chmod a+x /usr/local/etc/rc.d/radiusd.sh");
mwexec("/usr/local/etc/rc.d/radiusd.sh");
</custom_php_install_command>