SOURCES: rc-scripts-initng.patch - correct it
glen
glen at pld-linux.org
Wed Mar 22 14:05:29 CET 2006
Author: glen Date: Wed Mar 22 13:05:28 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- correct it
---- Files affected:
SOURCES:
rc-scripts-initng.patch (1.3 -> 1.4)
---- Diffs:
================================================================
Index: SOURCES/rc-scripts-initng.patch
diff -u SOURCES/rc-scripts-initng.patch:1.3 SOURCES/rc-scripts-initng.patch:1.4
--- SOURCES/rc-scripts-initng.patch:1.3 Wed Mar 22 12:15:58 2006
+++ SOURCES/rc-scripts-initng.patch Wed Mar 22 14:05:23 2006
@@ -1,5 +1,5 @@
--- service 2006-02-10 21:27:45.000000000 +0200
-+++ /sbin/service 2006-03-22 13:14:19.681409346 +0200
++++ /sbin/service 2006-03-22 15:04:19.037813774 +0200
@@ -9,11 +9,13 @@
[ service_name [ command | --full-restart ] ]"
@@ -17,12 +17,11 @@
fi
if [ $# -eq 0 ]; then
-@@ -65,6 +67,43 @@
+@@ -65,6 +67,42 @@
esac
done
+if [ -n "$INITNG" ]; then
-+ set -x
+ if [ ! -f "${SERVICEDIR}/${SERVICE}.i" ]; then
+ echo "${SERVICE}: unrecognized service" >&2
+ exit 1
@@ -31,7 +30,7 @@
+ OPT=
+ CMD="${OPTIONS# *}"
+ CMD="${CMD% *}"
-+ ARGS="${OPTIONS# $CMD }"
++ ARGS="${OPTIONS# $CMD}"
+ case "${CMD}" in
+ start)
+ OPT=-u
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/rc-scripts-initng.patch?r1=1.3&r2=1.4&f=u
More information about the pld-cvs-commit
mailing list