]>
git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - squid/cache_swap.sh
2 if [ -f /etc
/sysconfig
/squid
]; then
6 SQUID_CONF
=${SQUID_CONF:-"/etc/squid/squid.conf"}
8 CACHE_SWAP
=`sed -e 's/#.*//g' $SQUID_CONF | \
9 grep cache_dir | awk '{ print $3 }'`
11 for adir
in $CACHE_SWAP; do
12 if [ ! -d $adir/00 ]; then
13 echo -n "init_cache_dir $adir... "
14 squid
-z -F -f $SQUID_CONF >> /var
/log
/squid
/squid.out
2>&1