aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeradius2/freeradius.xml
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2011-12-16 09:01:37 -0800
committerChris Buechler <cmb@pfsense.org>2011-12-16 09:01:37 -0800
commit2453b47716bcbc46db3334fb3e410589bebf02a1 (patch)
tree61c9696b3c4e8bc941e382775433706834bbfa35 /config/freeradius2/freeradius.xml
parent6fa15510ae4285911f0e643c48f0940d94f22ff5 (diff)
parent5cbe5985b13cec29a24ff40697bfa58344d41759 (diff)
downloadpfsense-packages-2453b47716bcbc46db3334fb3e410589bebf02a1.tar.gz
pfsense-packages-2453b47716bcbc46db3334fb3e410589bebf02a1.tar.bz2
pfsense-packages-2453b47716bcbc46db3334fb3e410589bebf02a1.zip
Merge pull request #135 from Nachtfalkeaw/master
hope this creates the config, clients ans users files after reinstallation.
Diffstat (limited to 'config/freeradius2/freeradius.xml')
-rwxr-xr-xconfig/freeradius2/freeradius.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/freeradius2/freeradius.xml b/config/freeradius2/freeradius.xml
index 60d3a3ce..fbf8fa18 100755
--- a/config/freeradius2/freeradius.xml
+++ b/config/freeradius2/freeradius.xml
@@ -261,6 +261,12 @@
</custom_php_resync_config_command>
<custom_php_install_command>
freeradius_install_command();
+ freeradius_settings_command();
+ freeradius_clients_command();
+ freeradius_users_command();
+ exec("chown -R root:wheel /usr/local/etc/raddb");
+ exec("chown -R root:wheel /usr/local/lib/freeradius-2.1.12");
+ exec("rm -f /usr/local/etc/raddb/sites-enabled/control-socket");
</custom_php_install_command>
<custom_php_deinstall_command>
freeradius_deinstall_command();