diff options
author | Colin Smith <colin@pfsense.org> | 2005-02-26 03:56:52 +0000 |
---|---|---|
committer | Colin Smith <colin@pfsense.org> | 2005-02-26 03:56:52 +0000 |
commit | 6c1e0ef5489526c4dc75d367c0a0f55968247f9c (patch) | |
tree | 7e727c8557ed10b525ac9ef20d6c7a8d2a571133 /packages/ifstated.xml | |
parent | ee73b1ef02eaf2a62699755fa71c25e8cc70a747 (diff) | |
download | pfsense-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/ifstated.xml')
-rw-r--r-- | packages/ifstated.xml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/packages/ifstated.xml b/packages/ifstated.xml index 1e57ce81..1c1dfecd 100644 --- a/packages/ifstated.xml +++ b/packages/ifstated.xml @@ -71,6 +71,7 @@ global $config; $fout = fopen("/usr/local/etc/ifstated.conf","w"); if($config['installedpackages']['ifstated']['config'] != "") { + fwrite($fout, "# This file was automatically generated by the pfSense\n# package management system.\n\n"); fwrite($fout, "init-state " . $_POST['initstate'] . "\n\n"); fwrite($fout, "carp_up = \"((carp0 link up) and (carp1 link up))\"\ncarp_down = \"((! carp0 link up) and (! carp1 link up))\"\ncarp_sync= \"((carp0 link up and carp1 link up) or ((!carp0 link up) and (!carp1 link up)))\"\n\n"); fwrite($fout, "net = '( \"ping -q -c 1 -t 1 " . $_POST['exttestip'] . " > /dev/null\" every 10 and \"ping -q -c 1 -t 1 " . $_POST['inttestip'] . " > /dev/null\" every 10)'\n\n"); |