Commit d9ff61cb authored by Franco Fichtner's avatar Franco Fichtner

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

(cherry picked from commit 852261b6)
parent 326de1cd
...@@ -84,7 +84,7 @@ ...@@ -84,7 +84,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
......
...@@ -1613,7 +1613,7 @@ function system_cron_configure($verbose = false) ...@@ -1613,7 +1613,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;
} }
} }
......
...@@ -35,4 +35,4 @@ require_once("system.inc"); ...@@ -35,4 +35,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