summaryrefslogtreecommitdiffstats
path: root/usr/local/www/fbegin.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-10-29 03:07:11 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-10-29 03:07:11 +0000
commite3a13b00682d61838628570e6d634654bf7f34fd (patch)
treed9892a7a62d625a6451d6cb7438a29c6839432e2 /usr/local/www/fbegin.inc
parentbc8472b77ae3acaf52fcd37e86959cad4676425d (diff)
downloadpfsense-e3a13b00682d61838628570e6d634654bf7f34fd.zip
pfsense-e3a13b00682d61838628570e6d634654bf7f34fd.tar.gz
Add services_dhcp_server_enable which allows the DHCP server to be turned
off easily.
Diffstat (limited to 'usr/local/www/fbegin.inc')
-rwxr-xr-xusr/local/www/fbegin.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/fbegin.inc b/usr/local/www/fbegin.inc
index 5af5ae1..7f3cfca 100755
--- a/usr/local/www/fbegin.inc
+++ b/usr/local/www/fbegin.inc
@@ -180,7 +180,10 @@ if ($_REQUEST['noticeaction'] == 'acknowledge') {
<?=output_menu_item("/services_captiveportal.php", "Captive Portal");?>
<?=output_menu_item("/services_dnsmasq.php", "DNS Forwarder");?>
<?=output_menu_item("/services_dhcp_relay.php", "DHCP Relay");?>
- <?=output_menu_item("/services_dhcp.php", "DHCP Server");?>
+ <?php
+ if($g['services_dhcp_server_enable'])
+ output_menu_item("/services_dhcp.php", "DHCP Server");
+ ?>
<?=output_menu_item("/services_dyndns.php", "Dynamic DNS");?>
<?=output_menu_item("/load_balancer_pool.php", "Load Balancer");?>
<?=output_menu_item("/pkg_edit.php?xml=olsrd.xml&id=0", "OLSR");?>
OpenPOWER on IntegriCloud