aboutsummaryrefslogtreecommitdiffstats
path: root/config/freeradius2/freeradius.inc
diff options
context:
space:
mode:
authorNachtfalke <nachtfalkeaw@web.de>2011-12-16 17:49:56 +0100
committerNachtfalke <nachtfalkeaw@web.de>2011-12-16 17:49:56 +0100
commit94d50990994c9bd64b9418880858743a8eec65b9 (patch)
tree69aed6a6317d1039d81a81099aa4771d0b41f680 /config/freeradius2/freeradius.inc
parent976e803ecd4d6e1e5112b427a2c05f59efeb8637 (diff)
downloadpfsense-packages-94d50990994c9bd64b9418880858743a8eec65b9.tar.gz
pfsense-packages-94d50990994c9bd64b9418880858743a8eec65b9.tar.bz2
pfsense-packages-94d50990994c9bd64b9418880858743a8eec65b9.zip
sourced out some functions to freeradius.xml -> hope this creates the config, clients ans user files after reinstallation.
Diffstat (limited to 'config/freeradius2/freeradius.inc')
-rwxr-xr-xconfig/freeradius2/freeradius.inc7
1 files changed, 0 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';