summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-08-16 21:39:41 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-08-16 21:39:41 +0000
commit9c748b70a202034f2d4551d83959f8ffdcb29a1c (patch)
tree4a1c9ef517dac6d6a6cc7b9a7a4f95e29f813c2d /usr
parent8ae8438be4ecc41f533fce27df664444cbd84c36 (diff)
downloadpfsense-9c748b70a202034f2d4551d83959f8ffdcb29a1c.zip
pfsense-9c748b70a202034f2d4551d83959f8ffdcb29a1c.tar.gz
Do not dirty the path. We reload anyways.
Ticket #369
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/services_dhcp.php3
-rwxr-xr-xusr/local/www/services_dhcp_edit.php2
2 files changed, 1 insertions, 4 deletions
diff --git a/usr/local/www/services_dhcp.php b/usr/local/www/services_dhcp.php
index e0d01ce..35cf6cd 100755
--- a/usr/local/www/services_dhcp.php
+++ b/usr/local/www/services_dhcp.php
@@ -136,8 +136,8 @@ if ($_POST) {
$config['dhcpd'][$if]['gateway'] = $_POST['gateway'];
$config['dhcpd'][$if]['staticarp'] = $_POST['staticarp'] ? true : false;
-
+
write_config();
/* static arp configuration */
@@ -156,7 +156,6 @@ if ($_GET['act'] == "del") {
if ($a_maps[$_GET['id']]) {
unset($a_maps[$_GET['id']]);
write_config();
- touch($d_staticmapsdirty_path);
header("Location: services_dhcp.php?if={$if}");
exit;
}
diff --git a/usr/local/www/services_dhcp_edit.php b/usr/local/www/services_dhcp_edit.php
index 3f3f077..b9a2488 100755
--- a/usr/local/www/services_dhcp_edit.php
+++ b/usr/local/www/services_dhcp_edit.php
@@ -120,8 +120,6 @@ if ($_POST) {
else
$a_maps[] = $mapent;
- touch($d_staticmapsdirty_path);
-
write_config();
header("Location: services_dhcp.php?if={$if}");
OpenPOWER on IntegriCloud