Commit 528866c5 authored by Franco Fichtner's avatar Franco Fichtner

proxy: rc.conf.d subdir for squid, only way to merge configs

parent 24368104
#!/bin/sh #!/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" 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 for SQUID_DIR in ${SQUID_DIRS}; do
......
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 squid.conf:/usr/local/etc/squid/squid.conf
newsyslog.conf:/etc/newsyslog.conf.d/squid newsyslog.conf:/etc/newsyslog.conf.d/squid
externalACLs.conf:/usr/local/etc/squid/externalACLs.conf externalACLs.conf:/usr/local/etc/squid/externalACLs.conf
......
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