Commit 852261b6 authored by Franco Fichtner's avatar Franco Fichtner

rc: remove "_sync" suffix from script, we do not have another configure

parent f760f0f7
...@@ -85,7 +85,7 @@ ...@@ -85,7 +85,7 @@
/usr/local/etc/rc.d/netflow /usr/local/etc/rc.d/netflow
/usr/local/etc/rc.dyndns.update /usr/local/etc/rc.dyndns.update
/usr/local/etc/rc.expireaccounts /usr/local/etc/rc.expireaccounts
/usr/local/etc/rc.filter_configure_sync /usr/local/etc/rc.filter_configure
/usr/local/etc/rc.filter_synchronize /usr/local/etc/rc.filter_synchronize
/usr/local/etc/rc.firmware /usr/local/etc/rc.firmware
/usr/local/etc/rc.firmware.subr /usr/local/etc/rc.firmware.subr
......
...@@ -1617,7 +1617,7 @@ function system_cron_configure($verbose = false) ...@@ -1617,7 +1617,7 @@ function system_cron_configure($verbose = false)
if (isset($config['filter']['rule'])) { if (isset($config['filter']['rule'])) {
foreach ($config['filter']['rule'] as $rule) { foreach ($config['filter']['rule'] as $rule) {
if (!empty($rule['sched'])) { if (!empty($rule['sched'])) {
$autocron[] = generate_cron_job('/usr/local/etc/rc.filter_configure_sync', '0,15,30,45'); $autocron[] = generate_cron_job('/usr/local/etc/rc.filter_configure', '0,15,30,45');
break; break;
} }
} }
......
...@@ -34,4 +34,4 @@ require_once("system.inc"); ...@@ -34,4 +34,4 @@ require_once("system.inc");
require_once("interfaces.inc"); require_once("interfaces.inc");
require_once("services.inc"); require_once("services.inc");
filter_configure_sync(); filter_configure_sync(true);
[reload] [reload]
command:/usr/local/etc/rc.filter_configure_sync command:/usr/local/etc/rc.filter_configure
parameters: parameters:
type:script type:script
message:Reloading filter message:Reloading filter
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment