mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 09:34:39 +00:00
rc: convert dyndns/rfc2136 bootup calls
This commit is contained in:
parent
0995f5588a
commit
95eebf1cb0
@ -35,6 +35,7 @@ require_once('plugins.inc.d/dyndns/r53.inc');
|
||||
function dyndns_configure()
|
||||
{
|
||||
return array(
|
||||
'bootup' => array('dyndns_configure_do'),
|
||||
'local' => array('dyndns_configure_do'),
|
||||
'interface' => array('dyndns_configure_do:2'),
|
||||
);
|
||||
|
||||
@ -32,6 +32,7 @@
|
||||
function rfc2136_configure()
|
||||
{
|
||||
return array(
|
||||
'bootup' => array('rfc2136_configure_do'),
|
||||
'local' => array('rfc2136_configure_do'),
|
||||
'interface' => array('rfc2136_configure_do:2'),
|
||||
);
|
||||
|
||||
@ -107,12 +107,11 @@ system_hosts_generate(true);
|
||||
services_dhcrelay_configure(true);
|
||||
services_dhcrelay6_configure(true);
|
||||
|
||||
mwexec("/usr/local/etc/rc.sshd"); /* XXX convert to plugin */
|
||||
mwexec("/usr/local/etc/rc.dyndns.update"); /* XXX convert to plugin */
|
||||
|
||||
prefer_ipv4_or_ipv6();
|
||||
filter_configure_sync(true);
|
||||
|
||||
mwexec("/usr/local/etc/rc.sshd"); /* XXX convert to plugin */
|
||||
|
||||
plugins_configure('bootup', true);
|
||||
|
||||
/* start IPsec tunnels */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user