Add the -h parameter which is required for dhcpleases, might need to be removed later.

This commit is contained in:
smos 2012-04-07 13:13:37 +02:00
parent ee965a5c7b
commit acbb62fd97

View File

@ -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']) {