mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-20 16:02:59 +02:00
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:
@@ -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
|
||||
;;
|
||||
|
||||
@@ -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."; \
|
||||
|
||||
Reference in New Issue
Block a user