diff options
author | Ermal <eri@pfsense.org> | 2010-03-31 09:51:20 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-31 09:51:20 +0000 |
commit | 79afe4e471c65080d54d0aa064023126509589bc (patch) | |
tree | a5556bf7044543bcc6498beb915570d920f086bb /etc/inc/services.inc | |
parent | d432ed925a84396cdcac2f923a56bc3b9dce3859 (diff) | |
download | pfsense-79afe4e471c65080d54d0aa064023126509589bc.zip pfsense-79afe4e471c65080d54d0aa064023126509589bc.tar.gz |
Use new arguments passing style for dhcpleases. Ticket #374.
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r-- | etc/inc/services.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 73a128b..3951cfd 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -50,7 +50,7 @@ function services_parse_dhcpd_hostnames() { if (file_exists("{$g['varrun_path']}/dhcpleases.pid")) sigkillbypid("{$g['varrun_path']}/dhcpleases.pid", "HUP"); else - mwexec("/usr/local/sbin/dhcpleases {$g['dhcpd_chroot_path']}/var/db/dhcpd.leases {$config['system']['domain']} {$g['varrun_path']}/dnsmasq.pid {$g['varetc_path']}/hosts"); + mwexec("/usr/local/sbin/dhcpleases -l {$g['dhcpd_chroot_path']}/var/db/dhcpd.leases -d {$config['system']['domain']} -p {$g['varrun_path']}/dnsmasq.pid -h {$g['varetc_path']}/hosts"); } else { sigkillbypid("{$g['varrun_path']}/dhcpleases.pid", "TERM"); @unlink("{$g['varrun_path']}/dhcpleases.pid"); |