diff options
author | jim-p <jimp@pfsense.org> | 2013-09-05 14:25:43 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2013-09-05 14:27:53 -0400 |
commit | 9e6043ccc904141b979c60df9390185a8aa080c7 (patch) | |
tree | b82abff0be9221e06a973ef1e9e58e89636eb095 /etc | |
parent | 25f9f3322863eae12f705137d8d414643d7b853f (diff) | |
download | pfsense-9e6043ccc904141b979c60df9390185a8aa080c7.zip pfsense-9e6043ccc904141b979c60df9390185a8aa080c7.tar.gz |
Allow for easier override on $g values if needed.
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 cfea703..3d571c6 100644 --- a/etc/inc/globals.inc +++ b/etc/inc/globals.inc @@ -34,6 +34,7 @@ */ +global $g; $g = array( "base_packages" => "siproxd", "event_address" => "unix:///var/run/check_reload_status", @@ -152,6 +153,10 @@ $sysctls = array("net.inet.ip.portrange.first" => "1024", "net.inet.udp.checksum" => 1 ); +/* 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; ?> |