summaryrefslogtreecommitdiffstats
path: root/usr/local/www
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-02-09 04:43:52 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-02-09 04:43:52 +0000
commitf2366cc0ad526694f27d169194db34f5052c7d4c (patch)
tree7ae722b3d1a4f393e76d3c0571374b740f6de993 /usr/local/www
parentcc908f39a8109862b0cba4ef0d8c4ae01cde9fcb (diff)
downloadpfsense-f2366cc0ad526694f27d169194db34f5052c7d4c.zip
pfsense-f2366cc0ad526694f27d169194db34f5052c7d4c.tar.gz
Remove dhcpd.leases and reload daemon after LAN interface removal.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-xusr/local/www/interfaces_assign.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr/local/www/interfaces_assign.php b/usr/local/www/interfaces_assign.php
index 678248c..908f984 100755
--- a/usr/local/www/interfaces_assign.php
+++ b/usr/local/www/interfaces_assign.php
@@ -147,6 +147,8 @@ if ($_GET['act'] == "del") {
unset($config['shaper']);
unset($config['ezshaper']);
unset($config['nat']);
+ system("rm /var/dhcpd/var/db/*");
+ services_dhcpd_configure();
}
write_config();
OpenPOWER on IntegriCloud