Two syntax errors in shell scripts of mysql and clamav.

git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1056 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-11-04 16:25:19 +00:00
parent cb1fb69145
commit 7f5860508c
2 changed files with 2 additions and 2 deletions

View File

@@ -16,7 +16,7 @@ case "$1" in
[ -e "/usr/share/clamav/daily.cvd" ] && \
break
sleep 5
(( $COUNTER += 1 ))
COUNTER=$(($COUNTER + 1))
done
loadproc /usr/sbin/clamd
;;

View File

@@ -37,7 +37,7 @@ while [ "$COUNTER" -lt "10" ]; do
[ -e "/var/run/mysql/mysql.sock" ] && break
echo "MySQL server is still not running. Waiting 5 seconds."
sleep 5
(( $COUNTER += 1 ))
COUNTER=$(($COUNTER + 1))
done
[ -e "/var/run/mysql/mysql.sock" ] || (echo "MySQL still noch running... Exiting."; \