aboutsummaryrefslogtreecommitdiff
path: root/comms/conserver-com/files
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2001-12-09 14:40:13 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2001-12-09 14:40:13 +0000
commit9d224a95dab0a62a3ae50361b0864d8bfa3d3923 (patch)
tree958cf2a65c61d4abd9966a6da1d82212ef2fbe3d /comms/conserver-com/files
parentacd790f2f957e2893bba85d4d233e11a0be0505b (diff)
downloadports-9d224a95dab0a62a3ae50361b0864d8bfa3d3923.tar.gz
ports-9d224a95dab0a62a3ae50361b0864d8bfa3d3923.zip
Notes
Diffstat (limited to 'comms/conserver-com/files')
-rw-r--r--comms/conserver-com/files/patch-conserver.rc20
1 files changed, 20 insertions, 0 deletions
diff --git a/comms/conserver-com/files/patch-conserver.rc b/comms/conserver-com/files/patch-conserver.rc
new file mode 100644
index 000000000000..04446b2d6c2c
--- /dev/null
+++ b/comms/conserver-com/files/patch-conserver.rc
@@ -0,0 +1,20 @@
+--- conserver/conserver.rc.orig Sun Jul 8 04:54:09 2001
++++ conserver/conserver.rc Sun Dec 9 16:32:01 2001
+@@ -3,7 +3,7 @@
+ # Startup for conserver
+ #
+
+-PATH=/usr/bin:/usr/local/bin
++PATH=/bin:/usr/bin:/usr/local/bin
+
+ case "$1" in
+ 'start')
+@@ -12,7 +12,7 @@
+ ;;
+
+ 'stop')
+- master=`ps -ef | grep conserver | awk '$3 == "1"{print $2}'`
++ master=`ps ax | grep conserver | awk '$3~/s/ {print $1}'`
+ [ "$master" ] && kill -TERM $master
+ ;;
+