Revision 0261381a
Added by Ermal LUÇI over 15 years ago
etc/inc/services.inc | ||
---|---|---|
614 | 614 |
|
615 | 615 |
$args = ""; |
616 | 616 |
|
617 |
//if (isset($config['dnsmasq']['regdhcp'])) { |
|
618 |
// $args .= " -l {$g['dhcpd_chroot_path']}/var/db/dhcpd.leases" . |
|
619 |
// " -s {$config['system']['domain']}"; |
|
620 |
//} |
|
617 |
if (isset($config['dnsmasq']['regdhcp'])) { |
|
618 |
$args .= " --dhcp-hostsfile={$g['varetc_path']}/hosts "; |
|
619 |
} |
|
621 | 620 |
|
622 | 621 |
if (isset($config['dnsmasq']['domainoverrides']) && is_array($config['dnsmasq']['domainoverrides'])) { |
623 | 622 |
foreach($config['dnsmasq']['domainoverrides'] as $override) { |
Also available in: Unified diff
Actually pass the parameter to the dnsmasq where to read its hosts file from.