Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
OpnSense
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kulya
OpnSense
Commits
852261b6
Commit
852261b6
authored
Mar 19, 2017
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rc: remove "_sync" suffix from script, we do not have another configure
parent
f760f0f7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
plist
plist
+1
-1
system.inc
src/etc/inc/system.inc
+1
-1
rc.filter_configure
src/etc/rc.filter_configure
+1
-1
actions_filter.conf
src/opnsense/service/conf/actions.d/actions_filter.conf
+1
-1
No files found.
plist
View file @
852261b6
...
...
@@ -85,7 +85,7 @@
/usr/local/etc/rc.d/netflow
/usr/local/etc/rc.dyndns.update
/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.firmware
/usr/local/etc/rc.firmware.subr
...
...
src/etc/inc/system.inc
View file @
852261b6
...
...
@@ -1617,7 +1617,7 @@ function system_cron_configure($verbose = false)
if
(
isset
(
$config
[
'filter'
][
'rule'
]))
{
foreach
(
$config
[
'filter'
][
'rule'
]
as
$rule
)
{
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
;
}
}
...
...
src/etc/rc.filter_configure
_sync
→
src/etc/rc.filter_configure
View file @
852261b6
...
...
@@ -34,4 +34,4 @@ require_once("system.inc");
require_once
(
"interfaces.inc"
);
require_once
(
"services.inc"
);
filter_configure_sync
();
filter_configure_sync
(
true
);
src/opnsense/service/conf/actions.d/actions_filter.conf
View file @
852261b6
[
reload
]
command
:/
usr
/
local
/
etc
/
rc
.
filter_configure
_sync
command
:/
usr
/
local
/
etc
/
rc
.
filter_configure
parameters
:
type
:
script
message
:
Reloading
filter
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment