mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 18:14:42 +00:00
dhcp: appreciate the details but better for a commit message here
This commit is contained in:
parent
d1965a5cdd
commit
99b2480dd5
@ -1583,10 +1583,6 @@ EOD;
|
||||
|
||||
if (count($dhcpdv6ifs) > 0) {
|
||||
mwexec('/usr/local/sbin/dhcpd -6 -user dhcpd -group dhcpd -chroot /var/dhcpd -cf /etc/dhcpdv6.conf -pf /var/run/dhcpdv6.pid ' . join(' ', $dhcpdv6ifs));
|
||||
|
||||
# The -m0 parameter prevents the script keeping a pipe connection open
|
||||
# to the daemon parent process, which can cause restart failures, due to
|
||||
# the sleep process running for longer than the shell script.
|
||||
mwexecf('/usr/sbin/daemon -m0 -f -p %s %s', ['/var/run/dhcpleases6.pid', '/usr/local/opnsense/scripts/dhcp/prefixes.sh']);
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user