summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/globals.inc3
-rw-r--r--etc/inc/services.inc6
2 files changed, 7 insertions, 2 deletions
diff --git a/etc/inc/globals.inc b/etc/inc/globals.inc
index 92dce05..2380b7f 100644
--- a/etc/inc/globals.inc
+++ b/etc/inc/globals.inc
@@ -73,6 +73,7 @@ $g = array(
"captiveportal_element_sizelimit" => 262144,
"xmlrpcpath" => "/pfSense/xmlrpc.php",
"embeddedbootupslice" => "/dev/ad0a",
+ "services_dhcp_server_enable" => true,
"update_url" => "http://updates.pfSense.com/_updaters",
"update_manifest" => "http://updates.pfSense.com/manifest",
"wireless_regex" => "/^(ndis|wi|ath|an|ral|ural|wai|iwi|awi|wlan|rum)/",
@@ -86,4 +87,4 @@ $iptos = array("lowdelay", "throughput", "reliability");
/* TCP flags */
$tcpflags = array("syn", "ack", "fin", "rst", "psh", "urg");
-?>
+?> \ No newline at end of file
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 559cdce..7bc11cb 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -42,6 +42,10 @@ function load_balancer_use_sticky() {
function services_dhcpd_configure() {
global $config, $g;
+
+ if($g['services_dhcp_server_enable'] == false)
+ return;
+
if(isset($config['system']['developerspew'])) {
$mt = microtime();
echo "services_dhcpd_configure($if) being called $mt\n";
@@ -1253,4 +1257,4 @@ function upnp_start() {
}
}
-?>
+?> \ No newline at end of file
OpenPOWER on IntegriCloud