forked from pool/squid
5dbc38c7fd
- Update Squid to 4.0.22 (fate#324583, bnc#1073089) * re-enable building with default openssl-devel * Helper changes since 3.5.27: + basic_msnt_multi_domain_auth removed - basic_smb_lm_auth helper performs the same functionality + cert_valid.pl testing helper renamed to security_fake_certverify + ssl_crtd renamed to security_file_certgen For complete set of release notes and changes since squid 3.5 see http://www.squid-cache.org/Versions/v4/squid-4.0.22-RELEASENOTES.html - Updated squid.keyring using current keyring file from upstream - missing_installs.patch: install manpages for installed helpers OBS-URL: https://build.opensuse.org/request/show/562903 OBS-URL: https://build.opensuse.org/package/show/server:proxy/squid?expand=0&rev=141
14 lines
284 B
Bash
14 lines
284 B
Bash
#!/bin/sh
|
|
|
|
DIR=$(dirname $0)
|
|
CACHE_DIR=$($DIR/cache_dir.sed < /etc/squid/squid.conf)
|
|
if [ 'x'$CACHE_DIR = 'x' ]; then
|
|
exit 0
|
|
fi
|
|
|
|
if ! test -d $CACHE_DIR; then
|
|
echo "Initializing cache directories..."
|
|
exec /usr/sbin/squid -z -F --foreground -S -f /etc/squid/squid.conf
|
|
fi
|
|
|