On Thu, 14 May 2009 12:35:13 +0100 James Bensley jwbensley@gmail.com wrote:
Update: these lines should be:
- $X
that should be lower case.
My guess is that because your variables all equal zero, it's possible that something is wrong with:
find /usr/local/squidGuard/db -maxdepth 1 -type d | while read FOLDER;
stick "set -x" under your #!/bin/sh to see what's running and what's not.