#!/bin/bash

# This  part should be done at startup time  as it won't work for non-
# superusers later.
#
NN=`mount | grep '^tmpfs on /dev/shm' | wc -l`
if [ "@$NN" == "@0" ]; then mount tmpfs >& /dev/null; fi

ulimit -n 4096
exec $PRODTREE/squid/sbin/squid $*
