diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-10-29 03:07:11 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-10-29 03:07:11 +0000 |
commit | e3a13b00682d61838628570e6d634654bf7f34fd (patch) | |
tree | d9892a7a62d625a6451d6cb7438a29c6839432e2 /usr/local/www/fbegin.inc | |
parent | bc8472b77ae3acaf52fcd37e86959cad4676425d (diff) | |
download | pfsense-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-x | usr/local/www/fbegin.inc | 5 |
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");?> |