]> git.pld-linux.org Git - packages/util-vserver.git/blame - util-vserver-vsysvwrapper.patch
- pl for new packages
[packages/util-vserver.git] / util-vserver-vsysvwrapper.patch
CommitLineData
a01111bf
JR
1--- util-vserver-0.30.207/scripts/vsysvwrapper.orig 2005-03-21 21:03:31.000000000 +0100
2+++ util-vserver-0.30.207/scripts/vsysvwrapper 2005-05-07 02:17:32.000000000 +0200
3@@ -18,11 +18,12 @@
4 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
5
6 # Helper script for all the v_xxx scripts
7-: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
8-test -e "$UTIL_VSERVER_VARS" || {
9- echo $"Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
10- exit 1
11-}
12+
0e1ca031 13+[ -n "$UTIL_VSERVER_VARS" ] || UTIL_VSERVER_VARS=/usr/lib/util-vserver/util-vserver-vars
a01111bf
JR
14+if [ ! -e "$UTIL_VSERVER_VARS" ] ; then
15+ echo "Can not find util-vserver installation (the file '$UTIL_VSERVER_VARS' would be expected); aborting..." >&2
16+ exit 1
17+fi
18 . "$UTIL_VSERVER_VARS"
19
20 if [ $# = 0 ] ; then
21@@ -40,6 +41,5 @@
22 do
23 IPOPT="$IPOPT --ip $oneip"
24 done
25- echo exec $CHBIND $IPOPT /etc/init.d/$SERVICE "$@"
26- exec $CHBIND $IPOPT /etc/init.d/$SERVICE "$@"
27+ exec $CHBIND $IPOPT /etc/rc.d/init.d/$SERVICE "$@"
28 fi
This page took 0.072483 seconds and 4 git commands to generate.