mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
system: users might miss this so put it back
rc.resolv_conf_generate like most rc.* scripting magic should eventually go way.
This commit is contained in:
parent
683747ddb3
commit
c1ff59ea02
@ -475,9 +475,10 @@ function core_xmlrpc_sync()
|
||||
|
||||
function core_configure()
|
||||
{
|
||||
return array(
|
||||
'user_changed' => array('core_user_changed_groups:2'),
|
||||
);
|
||||
return [
|
||||
'dns_reload' => ['system_resolvconf_generate', 'system_hosts_generate'],
|
||||
'user_changed' => ['core_user_changed_groups:2'],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -1,3 +1,9 @@
|
||||
[reload]
|
||||
command:/usr/local/sbin/pluginctl -c dns_reload
|
||||
parameters:
|
||||
type:script_output
|
||||
message:rewriting /etc/resolv.conf and /etc/hosts
|
||||
|
||||
[query]
|
||||
command:/usr/local/opnsense/scripts/dns/query_dns.py
|
||||
parameters: --server %s %s
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user