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
bcb39d0c
Commit
bcb39d0c
authored
Jun 11, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
services: don't set bootup routines when disabled; closes #1000
parent
d4d27c14
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
rc.conf.d
src/opnsense/service/templates/OPNsense/IDS/rc.conf.d
+1
-2
rc.conf.d
src/opnsense/service/templates/OPNsense/Proxy/rc.conf.d
+5
-2
No files found.
src/opnsense/service/templates/OPNsense/IDS/rc.conf.d
View file @
bcb39d0c
...
...
@@ -2,6 +2,7 @@
{%
from
'
OPNsense
/
Macros
/
interface
.
macro
'
import
physical_interface
%}
{%
if
helpers
.
exists
(
'
OPNsense
.
IDS
.
general
'
)
and
OPNsense
.
IDS
.
general
.
enabled
|
default
(
"0"
)
==
"1"
%}
suricata_enable
=
"YES"
suricata_opnsense_bootup_run
=
"/usr/local/opnsense/scripts/suricata/setup.sh"
{%
if
OPNsense
.
IDS
.
general
.
ips
|
default
(
"0"
)
==
"1"
%}
#
IPS
mode
,
switch
to
netmap
...
...
@@ -31,5 +32,3 @@ suricata_flags="-D {%
{%
else
%}
suricata_enable
=
"NO"
{%
endif
%}
suricata_opnsense_bootup_run
=
"/usr/local/opnsense/scripts/suricata/setup.sh"
src/opnsense/service/templates/OPNsense/Proxy/rc.conf.d
View file @
bcb39d0c
squid_enable
={%
if
helpers
.
exists
(
'
OPNsense
.
proxy
.
general
.
enabled
'
)
and
OPNsense
.
proxy
.
general
.
enabled
|
default
(
"0"
)
==
"1"
%}
YES
{%
else
%}
NO
{%
endif
%}
{%
if
helpers
.
exists
(
'
OPNsense
.
proxy
.
general
.
enabled
'
)
and
OPNsense
.
proxy
.
general
.
enabled
|
default
(
"0"
)
==
"1"
%}
squid_enable
=
YES
squid_opnsense_bootup_run
=
"/usr/local/opnsense/scripts/proxy/setup.sh"
{%
else
%}
squid_enable
=
NO
{%
endif
%}
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