summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-04-07 13:13:37 +0200
committersmos <seth.mos@dds.nl>2012-04-07 13:13:37 +0200
commitacbb62fd97cdae1afa6b82cab1db3a6bd60efa9a (patch)
treee603f1f94f9860c584405565943d766f697efebc /etc
parentee965a5c7bf37b852795e1201688e3b20bf3d8d1 (diff)
downloadpfsense-acbb62fd97cdae1afa6b82cab1db3a6bd60efa9a.zip
pfsense-acbb62fd97cdae1afa6b82cab1db3a6bd60efa9a.tar.gz
Add the -h parameter which is required for dhcpleases, might need to be removed later.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index b912080..b69ac4f 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']) {
OpenPOWER on IntegriCloud