rpms/dhcdbd/devel dhcdbd.init,1.5,1.6

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Wed Nov 30 17:16:34 UTC 2005


Author: jvdias

Update of /cvs/dist/rpms/dhcdbd/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17954

Modified Files:
	dhcdbd.init 
Log Message:
fix bug 174577: NLS support


Index: dhcdbd.init
===================================================================
RCS file: /cvs/dist/rpms/dhcdbd/devel/dhcdbd.init,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- dhcdbd.init	6 Oct 2005 19:56:21 -0000	1.5
+++ dhcdbd.init	30 Nov 2005 17:16:31 -0000	1.6
@@ -13,9 +13,10 @@
 . /etc/rc.d/init.d/functions
 [ -e /etc/sysconfig/network ] && . /etc/sysconfig/network
 [ "${NETWORKING}" = "no" ] && exit 0
+prog=dhcdbd
 
 start() {
-	echo -n "Starting dhcdbd:"
+	echo -n $"Starting $prog:"
 	daemon /sbin/dhcdbd --system 
 	RETVAL=$?
 	echo
@@ -24,7 +25,7 @@
 }
 
 stop () {
-        echo -n "Stopping dhcdbd:"
+        echo -n $"Stopping $prog:"
 	if [ -e /var/lock/subsys/dhcdbd ] && [ -e /var/run/dbus/system_bus_socket ]; then
 	    /usr/bin/dbus-send --system \
 		               --dest=com.redhat.dhcp \
@@ -61,7 +62,7 @@
 	            grep 'sender=' | sed 's/^.*sender=//;s/\ .*$//'`;
 	    RETVAL=$?
 	    if [ "$RETVAL" -eq 0 ]; then
-		echo -n 'dhcdbd ( '$pid' ) listening on '$sender
+		echo -n $"$prog ( $pid ) listening on $sender"
 		success;
 		echo;
 	    else
@@ -97,7 +98,7 @@
 	RETVAL=$?;
 	;;
   *)
-        echo 'dhcdbd: Usage: < start | stop | restart | reload | status >'
+        echo $"$prog: Usage: < start | stop | restart | reload | status >"
 	;;
 esac;
 




More information about the fedora-cvs-commits mailing list