diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/globals.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc index 4d104d5..ec3cde0 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -40,6 +40,7 @@ function remove_numbers($string) { return $string; } +global $g; $g = array( "base_packages" => "siproxd", "event_address" => "unix:///var/run/check_reload_status", @@ -147,6 +148,10 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024", "net.inet.ip.process_options" => 0 ); +/* Include override values for the above if needed. If the file doesn't exist, don't try to load it. */ +if (file_exists("/etc/inc/globals_override.inc")) + @include("globals_override.inc"); + $config_parsed = false; ?> |