SOURCES: vservers.init - pldize, propagate /sbin/service

glen glen at pld-linux.org
Tue Jul 3 20:20:20 CEST 2007


Author: glen                         Date: Tue Jul  3 18:20:20 2007 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- pldize, propagate /sbin/service

---- Files affected:
SOURCES:
   vservers.init (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SOURCES/vservers.init
diff -u SOURCES/vservers.init:1.7 SOURCES/vservers.init:1.8
--- SOURCES/vservers.init:1.7	Tue Feb  7 18:56:14 2006
+++ SOURCES/vservers.init	Tue Jul  3 20:20:15 2007
@@ -41,7 +41,7 @@
 case "$1" in
 start)
 	if [ ! -f /var/lock/subsys/vprocunhide ]; then
-		echo "Run \"/etc/rc.d/init.d/vprocunhide start\" first"
+		echo "Run \"/sbin/service vprocunhide start\" first"
 		exit 1
 	fi
 
@@ -161,8 +161,8 @@
 	/usr/sbin/vserver-stat
 	;;
 *)
-	echo "Usage: $0 {start|stop|status}"
-	exit 1
+	msg_usage "$0 {start|stop|status}"
+	exit 3
 	;;
 esac
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/vservers.init?r1=1.7&r2=1.8&f=u



More information about the pld-cvs-commit mailing list