aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorNachtfalke <nachtfalkeaw@web.de>2011-12-29 17:54:50 +0100
committerNachtfalke <nachtfalkeaw@web.de>2011-12-29 17:54:50 +0100
commit848208a8f2859252218ca825871677df9638d667 (patch)
tree16eb52e941bcc021f841b89a07ffebac33d1c120 /config
parentb25586cd986896e4c123d9e21660c386ea173e30 (diff)
downloadpfsense-packages-848208a8f2859252218ca825871677df9638d667.tar.gz
pfsense-packages-848208a8f2859252218ca825871677df9638d667.tar.bz2
pfsense-packages-848208a8f2859252218ca825871677df9638d667.zip
Update config/freeradius2/freeradius_view_config.php
Diffstat (limited to 'config')
-rw-r--r--config/freeradius2/freeradius_view_config.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/freeradius2/freeradius_view_config.php b/config/freeradius2/freeradius_view_config.php
index 7a5c52a4..7242851d 100644
--- a/config/freeradius2/freeradius_view_config.php
+++ b/config/freeradius2/freeradius_view_config.php
@@ -1,8 +1,10 @@
<?php
/*
- postfix_view_config.php
+ freeradius_view_config.php
part of pfSense (http://www.pfsense.com/)
+ Copyright (C) 2011 - 2012 Alexander Wilke <nachtfalkeaw@web.de>
Copyright (C) 2011 Marcello Coutinho <marcellocoutinho@gmail.com>
+ based on postfix_view_config.php
based on varnish_view_config.
All rights reserved.
@@ -30,6 +32,7 @@
require("guiconfig.inc");
function get_file($file){
+ $files['radiusd']="/usr/local/etc/raddb/radiusd.conf";
$files['eap']="/usr/local/etc/raddb/eap.conf";
$files['sql']="/usr/local/etc/raddb/sql.conf";
$files['clients']="/usr/local/etc/raddb/clients.conf";
@@ -98,6 +101,7 @@ else{
</tr>
<tr>
<td class="tabcont" >
+ <input type="button" onClick="get_freeradius_file('radiusd');" id='btn_radiusd' value="radiusd.conf">&nbsp;
<input type="button" onClick="get_freeradius_file('eap');" id='btn_eap' value="eap.conf">&nbsp;
<input type="button" onClick="get_freeradius_file('sql');" id='btn_sql' value="sql.conf">&nbsp;
<input type="button" onClick="get_freeradius_file('clients');" id='btn_clients' value="clients.conf">&nbsp;
@@ -137,6 +141,7 @@ else{
}
function activitycallback_postfix_file(transport) {
$('file_div').innerHTML = transport.responseText;
+ $('btn_radiusd').value="radiusd.conf";
$('btn_eap').value="eap.conf";
$('btn_sql').value="sql.conf";
$('btn_clients').value="clients.conf";