SOURCES: dhcp.init - unify service name

glen glen at pld-linux.org
Mon Jan 22 18:40:39 CET 2007


Author: glen                         Date: Mon Jan 22 17:40:39 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- unify service name

---- Files affected:
SOURCES:
   dhcp.init (1.17 -> 1.18) 

---- Diffs:

================================================================
Index: SOURCES/dhcp.init
diff -u SOURCES/dhcp.init:1.17 SOURCES/dhcp.init:1.18
--- SOURCES/dhcp.init:1.17	Mon Jan 22 18:39:39 2007
+++ SOURCES/dhcp.init	Mon Jan 22 18:40:34 2007
@@ -16,7 +16,7 @@
 # Check that networking is up.
 if is_yes "${NETWORKING}"; then
 	if [ ! -f /var/lock/subsys/network -a "$1" != stop -a "$1" != status ]; then
-		msg_network_down DHCPD
+		msg_network_down "DHCP Server"
 		exit 1
 	fi
 else
@@ -24,7 +24,7 @@
 fi
 
 checkconfig() {
-	show "Checking %s configuration" DHCPD
+	show "Checking %s configuration" "DHCP Server"
 	out=`/usr/sbin/dhcpd -t 2>&1`; rc=$?
 	if [ $rc -gt 0 ]; then
 		fail
@@ -43,7 +43,7 @@
 		RETVAL=$?
 		[ $RETVAL -eq 0 ] && touch /var/lock/subsys/dhcpd
 	else
-		msg_already_running DHCPD
+		msg_already_running "DHCP Server"
 	fi
 }
 
@@ -53,7 +53,7 @@
 		killproc dhcpd
 		rm -f /var/run/dhcpd.pid /var/lock/subsys/dhcpd >/dev/null 2>&1
 	else
-		msg_not_running DHCPD
+		msg_not_running "DHCP Server"
 	fi
 }
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/dhcp.init?r1=1.17&r2=1.18&f=u



More information about the pld-cvs-commit mailing list