Update of /cvsroot/openantivirus/samba-vscan/nai/mcDaemon-v0.1
In directory sc8-pr-cvs1:/tmp/cvs-serv10604
Modified Files:
Tag: VSCAN_0_3
mcDaemon.c mcDaemonRC
Log Message:
translated some messages rougly into english
Index: mcDaemon.c
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/nai/mcDaemon-v0.1/Attic/mcDaemon.c,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- mcDaemon.c 4 Dec 2003 16:24:00 -0000 1.1.2.1
+++ mcDaemon.c 7 Jan 2004 20:40:15 -0000 1.1.2.2
@@ -269,21 +269,21 @@
int backlog = 0;
if (getenv ("NUM_MCD") == NULL)
{
- printf ("McDaemon no correctamente configurado.\n");
- printf ("Debe configurar la variable de entorno NUM_MCD.\n");
+ printf ("McDaemon is not configured.\n");
+ printf ("Please configure maximum number of daemons via env var NUM_MCD.\n");
exit (254);
}
if ((num_mcd = atoi (getenv ("NUM_MCD"))) < 1)
{
- printf ("McDaemon no correctamente configurado.\n");
- printf ("Debe configurar la variable de entorno NUM_MCD ");
- printf ("a un valor numero mayor que 1.\n");
+ printf ("McDaemon is not correctly configured \n");
+ printf ("Please set the environment variable NUM_MCD ");
+ printf ("greather than 0.\n");
exit (254);
}
if (num_mcd > 64)
{
- printf ("McDaemon configurado con NUM_MCD mayor a 64.\n");
- printf ("No se permite el uso de valores mayores a 64.\n");
+ printf ("McDaemon configured via NUM_MCD greater than 64.\n");
+ printf ("It's not permitted to use more than 64 daemons.\n");
exit (64);
}
for (i = 1; i < (num_mcd + 1); i++)
@@ -295,9 +295,9 @@
}
else
{
- printf ("Uso: %s <numero>\n", argv[0]);
- printf ("<numero> indica que numero de proceso es.\n");
- printf ("El proceso principal es el cero.\n");
+ printf ("Usuage: %s <number>\n", argv[0]);
+ printf ("<number> indicates number of maximum processes.\n");
+ printf ("Number of processes must be at least one and not greater than 64\n");
exit (255);
}
Index: mcDaemonRC
===================================================================
RCS file: /cvsroot/openantivirus/samba-vscan/nai/mcDaemon-v0.1/Attic/mcDaemonRC,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -u -d -r1.1.2.1 -r1.1.2.2
--- mcDaemonRC 4 Dec 2003 16:24:00 -0000 1.1.2.1
+++ mcDaemonRC 7 Jan 2004 20:40:20 -0000 1.1.2.2
@@ -22,19 +22,19 @@
rc_reset
if [ ! -x ${DAEMON_DIR}/${MCDAEMON_BIN} ]; then
- echo -n "El mcDaemon, ${DAEMON_DIR}/${MCDAEMON_BIN}, no se encuentra instalado."
+ echo -n "mcDaemon, ${DAEMON_DIR}/${MCDAEMON_BIN}, is not installed"
rc_status -s
exit 5
fi
case "$1" in
start)
- echo -n "Iniciando mcDaemon"
+ echo -n "Starting mcDaemon"
${DAEMON_DIR}/${MCDAEMON_LOADER} >/dev/null 2>/dev/null
printf "\033[1;32m done\033[0;37m\n"
;;
stop)
- echo -n "Finalizando mcDaemon"
+ echo -n "Stopping mcDaemon"
killall -9 mcdaemon >/dev/null 2>/dev/null
killall -9 uvscan >/dev/null 2>/dev/null
printf "\033[1;32m done\033[0;37m\n"
@@ -49,7 +49,7 @@
rc_status
;;
*)
- echo "Uso: $0 {start|stop|try-restart|restart}"
+ echo "Usage: $0 {start|stop|try-restart|restart}"
exit 1
;;
esac
-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.