spamassassin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From felic...@apache.org
Subject svn commit: r418167 - /spamassassin/trunk/spamd/redhat-rc-script.sh
Date Fri, 30 Jun 2006 03:01:29 GMT
Author: felicity
Date: Thu Jun 29 20:01:29 2006
New Revision: 418167

URL: http://svn.apache.org/viewvc?rev=418167&view=rev
Log:
bug 4921: localize spamd rc script messages for redhat distros

Modified:
    spamassassin/trunk/spamd/redhat-rc-script.sh

Modified: spamassassin/trunk/spamd/redhat-rc-script.sh
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamd/redhat-rc-script.sh?rev=418167&r1=418166&r2=418167&view=diff
==============================================================================
--- spamassassin/trunk/spamd/redhat-rc-script.sh (original)
+++ spamassassin/trunk/spamd/redhat-rc-script.sh Thu Jun 29 20:01:29 2006
@@ -11,6 +11,8 @@
 # Source function library.
 . /etc/rc.d/init.d/functions
 
+prog="spamd"
+
 # Source networking configuration.
 . /etc/sysconfig/network
 
@@ -36,7 +38,7 @@
 case "$1" in
   start)
 	# Start daemon.
-	echo -n "Starting spamd: "
+	echo -n $"Starting $prog: "
 	daemon $NICELEVEL spamd $SPAMDOPTIONS -r $SPAMD_PID
 	RETVAL=$?
         echo
@@ -46,7 +48,7 @@
         ;;
   stop)
         # Stop daemons.
-        echo -n "Shutting down spamd: "
+        echo -n $"Stopping $prog: "
         killproc spamd
         RETVAL=$?
         echo



Mime
View raw message