diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 04:43:52 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-02-09 04:43:52 +0000 |
commit | f2366cc0ad526694f27d169194db34f5052c7d4c (patch) | |
tree | 7ae722b3d1a4f393e76d3c0571374b740f6de993 /usr/local/www | |
parent | cc908f39a8109862b0cba4ef0d8c4ae01cde9fcb (diff) | |
download | pfsense-f2366cc0ad526694f27d169194db34f5052c7d4c.zip pfsense-f2366cc0ad526694f27d169194db34f5052c7d4c.tar.gz |
Remove dhcpd.leases and reload daemon after LAN interface removal.
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/interfaces_assign.php | 2 |
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(); |