From 94d50990994c9bd64b9418880858743a8eec65b9 Mon Sep 17 00:00:00 2001 From: Nachtfalke Date: Fri, 16 Dec 2011 17:49:56 +0100 Subject: sourced out some functions to freeradius.xml -> hope this creates the config, clients ans user files after reinstallation. --- config/freeradius2/freeradius.inc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'config/freeradius2') 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'; -- cgit v1.2.3