From acbb62fd97cdae1afa6b82cab1db3a6bd60efa9a Mon Sep 17 00:00:00 2001 From: smos Date: Sat, 7 Apr 2012 13:13:37 +0200 Subject: [PATCH] Add the -h parameter which is required for dhcpleases, might need to be removed later. --- etc/inc/services.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/inc/services.inc b/etc/inc/services.inc index b9120807c5..b69ac4f241 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -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']) {