mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Add the -h parameter which is required for dhcpleases, might need to be removed later.
This commit is contained in:
parent
ee965a5c7b
commit
acbb62fd97
@ -1006,7 +1006,7 @@ EOD;
|
||||
if(count($dhcpdv6ifs) > 0) {
|
||||
mwexec("/usr/local/sbin/dhcpd -6 -user dhcpd -group _dhcp -chroot {$g['dhcpd_chroot_path']} -cf /etc/dhcpdv6.conf -pf {$g['varrun_path']}/dhcpdv6.pid " .
|
||||
join(" ", $dhcpdv6ifs));
|
||||
mwexec("/usr/local/sbin/dhcpleases -c \"/usr/local/bin/php -f /usr/local/sbin/prefixes.php|/bin/sh\" -p {$g['dhcpd_chroot_path']}/var/run/dhcpd6.pid -l {$g['dhcpd_chroot_path']}/var/db/dhcpd6.leases");
|
||||
mwexec("/usr/local/sbin/dhcpleases -c \"/usr/local/bin/php -f /usr/local/sbin/prefixes.php|/bin/sh\" -p {$g['dhcpd_chroot_path']}/var/run/dhcpd6.pid -l {$g['dhcpd_chroot_path']}/var/db/dhcpd6.leases -h {$g['dhcpd_chroot_path']}/var/etc/hosts");
|
||||
}
|
||||
|
||||
if ($g['booting']) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user