Made some improvements in red script by Arne.

Delay clamd start until the virus db is present.


git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@1030 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8
This commit is contained in:
ms
2007-10-29 20:01:09 +00:00
parent c268e9f208
commit 0dde24facc
4 changed files with 85 additions and 48 deletions

View File

@@ -80,8 +80,7 @@ start_service() {
done
if [ -e "/etc/init.d/${1}" ]; then
sleep ${DELAY}
/etc/init.d/${1} start ${BACKGROUND}
(sleep ${DELAY} && /etc/init.d/${1} start) ${BACKGROUND}
fi
}