summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-09-09 11:25:45 -0400
committerjim-p <jimp@pfsense.org>2013-09-09 11:25:45 -0400
commitc7d488674c50a2cabb3a446faf9132f152b6bbf8 (patch)
tree0300121d1438ca4b993a63bc602828826e80b5e6 /etc
parent8c88228ab52abe34bd8a4a7da365ac048b7e5c53 (diff)
downloadpfsense-c7d488674c50a2cabb3a446faf9132f152b6bbf8.zip
pfsense-c7d488674c50a2cabb3a446faf9132f152b6bbf8.tar.gz
Allow for easier override on $g values if needed.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/globals.inc5
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;
?>
OpenPOWER on IntegriCloud