aboutsummaryrefslogtreecommitdiffstats
path: root/packages/freeradiusclients.xml
diff options
context:
space:
mode:
authorColin Smith <colin@pfsense.org>2005-02-26 03:56:52 +0000
committerColin Smith <colin@pfsense.org>2005-02-26 03:56:52 +0000
commit6c1e0ef5489526c4dc75d367c0a0f55968247f9c (patch)
tree7e727c8557ed10b525ac9ef20d6c7a8d2a571133 /packages/freeradiusclients.xml
parentee73b1ef02eaf2a62699755fa71c25e8cc70a747 (diff)
downloadpfsense-packages-6c1e0ef5489526c4dc75d367c0a0f55968247f9c.tar.gz
pfsense-packages-6c1e0ef5489526c4dc75d367c0a0f55968247f9c.tar.bz2
pfsense-packages-6c1e0ef5489526c4dc75d367c0a0f55968247f9c.zip
Add "this file was automatically generated..." header to package configuration files.
Diffstat (limited to 'packages/freeradiusclients.xml')
-rw-r--r--packages/freeradiusclients.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/freeradiusclients.xml b/packages/freeradiusclients.xml
index 198deaa5..b1fbcbf0 100644
--- a/packages/freeradiusclients.xml
+++ b/packages/freeradiusclients.xml
@@ -61,6 +61,7 @@
function sync_package() {
global $config;
$fout = fopen("/usr/local/etc/raddb/clients.conf","w");
+ fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n");
fwrite($fout, "client 127.0.0.1" . "{\n" . "secret = pfsense\n" . "shortname = localhost\n}\n\n");
if($config['installedpackages']['freeradiusclients']['config'] != "") {
foreach($config['installedpackages']['freeradiusclients']['config'] as $rowhelper) {