diff options
author | Ermal <eri@pfsense.org> | 2010-03-26 17:57:19 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-03-26 17:57:19 +0000 |
commit | 5656777b448e1befac6a373fa53000c5a143eb68 (patch) | |
tree | 4ac5a376b17e79e08e161307b768e57289e50f4c /etc/inc/services.inc | |
parent | 2ccd84994757cfd34de746bdf74ed2b42b2e906e (diff) | |
download | pfsense-5656777b448e1befac6a373fa53000c5a143eb68.zip pfsense-5656777b448e1befac6a373fa53000c5a143eb68.tar.gz |
Fix parameters
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r-- | etc/inc/services.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index b11114f..51cadd6 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -43,8 +43,8 @@ function services_parse_dhcpd_hostnames() { mwexec("/bin/pkill dhcpleases"); // Launch if option enabled if (isset($config['dnsmasq']['regdhcp'])) { - mwexec("/bin/ln /etc/hosts /var/etc/hosts"); - mwexec_bg("/usr/local/sbin/dhcpleases {$g['dhcpd_chroot_path']}/var/db/dhcpd.leases {$config['system']['domain']} {$g['varrun_path']}/dnsmasq.pid"); + mwexec("/bin/ln /etc/hosts {$g['varetc_path']}/hosts"); + mwexec_bg("/usr/local/sbin/dhcpleases {$g['dhcpd_chroot_path']}/var/db/dhcpd.leases {$config['system']['domain']} {$g['varrun_path']}/dnsmasq.pid {$g['varetc_path']}/hosts"); } } |