mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 00:24:40 +00:00
dnsmasq: roll this back a bit #5119
This commit is contained in:
parent
b1c7f44102
commit
f44dbecd79
2
plist
2
plist
@ -739,8 +739,8 @@
|
||||
/usr/local/opnsense/scripts/auth/add_user.php
|
||||
/usr/local/opnsense/scripts/dhcp/cleanup_leases4.php
|
||||
/usr/local/opnsense/scripts/dhcp/get_leases.py
|
||||
/usr/local/opnsense/scripts/dhcp/lease_watcher.py
|
||||
/usr/local/opnsense/scripts/dhcp/prefixes.php
|
||||
/usr/local/opnsense/scripts/dhcp/unbound_watcher.py
|
||||
/usr/local/opnsense/scripts/dns/query_dns.py
|
||||
/usr/local/opnsense/scripts/filter/delete_table.py
|
||||
/usr/local/opnsense/scripts/filter/download_geoip.py
|
||||
|
||||
@ -423,7 +423,7 @@ function unbound_configure_do($verbose = false, $interface = '')
|
||||
if (isset($config['unbound']['regdhcpdomain'])) {
|
||||
$domain = $config['unbound']['regdhcpdomain'];
|
||||
}
|
||||
mwexecf('/usr/local/opnsense/scripts/dhcp/lease_watcher.py --domain %s', $domain);
|
||||
mwexecf('/usr/local/opnsense/scripts/dhcp/unbound_watcher.py --domain %s', $domain);
|
||||
}
|
||||
|
||||
if ($verbose) {
|
||||
|
||||
@ -226,12 +226,12 @@ if __name__ == '__main__':
|
||||
config=inputargs.config
|
||||
)
|
||||
else:
|
||||
syslog.syslog(syslog.LOG_NOTICE, 'daemonize dhcpd lease watcher.')
|
||||
syslog.syslog(syslog.LOG_NOTICE, 'daemonize unbound dhcpd watcher.')
|
||||
cmd = lambda : run_watcher(
|
||||
target_filename=inputargs.target,
|
||||
default_domain=inputargs.domain,
|
||||
watch_file=inputargs.source,
|
||||
config=inputargs.config
|
||||
)
|
||||
daemon = Daemonize(app="lease_watcher", pid=inputargs.pid, action=cmd)
|
||||
daemon = Daemonize(app="unbound_dhcpd", pid=inputargs.pid, action=cmd)
|
||||
daemon.start()
|
||||
Loading…
x
Reference in New Issue
Block a user