Small fixes on mldonkey and clamav initskript

This commit is contained in:
Arne Fitzenreiter
2008-11-29 15:15:21 +01:00
parent cb101bcfe0
commit 2c4909ab09
3 changed files with 3 additions and 2 deletions

View File

@@ -197,6 +197,7 @@
* mkinitcpio-0.5.9
* mktemp-1.5
* mldonkey-2.9.2
* mldonkey-2.9.6
* module-init-tools-3.5
* mpc-0.12.1
* mpd-0.13.2

View File

@@ -13,7 +13,7 @@ case "$1" in
COUNTER=0
while [ "$COUNTER" -lt "30" ]; do
[ -e "/usr/share/clamav/main.cvd" ] && \
[ -e "/usr/share/clamav/daily.cld" ] && \
[ -e "/usr/share/clamav/daily.c*d" ] && \
break
sleep 5
COUNTER=$(($COUNTER + 1))

View File

@@ -19,7 +19,7 @@ case "${1}" in
start)
boot_mesg "Starting mldonkey..."
chown mldonkey.mldonkey /opt/mldonkey -R &>/dev/null
rm -f /opt/mldonkey/.mldonkey/*tmp* 2>/dev/null
rm -f /opt/mldonkey/.mldonkey/*.ini.tmp 2>/dev/null
HOME=/opt/mldonkey /opt/mldonkey/mlnet >/dev/null 2>&1 &
evaluate_retval
;;