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
528866c5
Commit
528866c5
authored
Oct 26, 2016
by
Franco Fichtner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
proxy: rc.conf.d subdir for squid, only way to merge configs
parent
24368104
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
setup.sh
src/opnsense/scripts/proxy/setup.sh
+7
-0
+TARGETS
src/opnsense/service/templates/OPNsense/Proxy/+TARGETS
+1
-1
No files found.
src/opnsense/scripts/proxy/setup.sh
View file @
528866c5
#!/bin/sh
# XXX Used to be a flat file, but we need a pluggable
# XXX directory. Can safely remove this post-17.1.
RC_CONF_D
=
"/etc/rc.conf.d/squid"
if
[
-f
${
RC_CONF_D
}
]
;
then
rm
${
RC_CONF_D
}
fi
SQUID_DIRS
=
"/var/log/squid /var/run/squid /var/squid /var/squid/cache /var/squid/ssl /var/squid/logs"
for
SQUID_DIR
in
${
SQUID_DIRS
}
;
do
...
...
src/opnsense/service/templates/OPNsense/Proxy/+TARGETS
View file @
528866c5
rc.conf.d:/etc/rc.conf.d/squid
rc.conf.d:/etc/rc.conf.d/squid
/squid
squid.conf:/usr/local/etc/squid/squid.conf
newsyslog.conf:/etc/newsyslog.conf.d/squid
externalACLs.conf:/usr/local/etc/squid/externalACLs.conf
...
...
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