From 6c1e0ef5489526c4dc75d367c0a0f55968247f9c Mon Sep 17 00:00:00 2001 From: Colin Smith Date: Sat, 26 Feb 2005 03:56:52 +0000 Subject: Add "this file was automatically generated..." header to package configuration files. --- packages/ifstated.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/ifstated.xml') 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"); -- cgit v1.2.3