mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Use killbypid instead of a killall that never works
This commit is contained in:
parent
6a69bc65a8
commit
e074fb75a9
@ -324,7 +324,7 @@ if ($_POST) {
|
||||
$retvaldhcp = 0;
|
||||
$retvaldns = 0;
|
||||
/* Stop DHCPv6 so we can cleanup leases */
|
||||
killbyname("dhcpd -6");
|
||||
killbypid("{$g['dhcpd_chroot_path']}{$g['varrun_path']}/dhcpdv6.pid");
|
||||
// dhcp_clean_leases();
|
||||
/* dnsmasq_configure calls dhcpd_configure */
|
||||
/* no need to restart dhcpd twice */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user