aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig/freeradius2/freeradius.inc7
-rwxr-xr-xconfig/freeradius2/freeradius.xml6
2 files changed, 6 insertions, 7 deletions
diff --git a/config/freeradius2/freeradius.inc b/config/freeradius2/freeradius.inc
index 76fb23d5..518544c9 100755
--- a/config/freeradius2/freeradius.inc
+++ b/config/freeradius2/freeradius.inc
@@ -27,15 +27,8 @@ function freeradius_install_command() {
}
}
- exec("chown -R root:wheel /usr/local/etc/raddb");
- exec("chown -R root:wheel /usr/local/lib/freeradius-2.1.12");
- // disable an experimental module of freeRADIUS which could be a security issue if not configured correctly!
- exec("rm -f /usr/local/etc/raddb/sites-enabled/control-socket");
-
closedir($handle);
- freeradius_settings_resync();
-
$rcfile = array();
$rcfile['file'] = 'radiusd.sh';
$rcfile['start'] = '/usr/local/etc/rc.d/radiusd onestart';
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();