summaryrefslogtreecommitdiff
path: root/net-im/jabber/files/jserver.sh
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2000-09-23 01:36:53 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2000-09-23 01:36:53 +0000
commit8c7499bdfa85657ea6c2517ada0ef4a4db489beb (patch)
tree1c37a6088704b234484b1352cd1f882fb2a253ad /net-im/jabber/files/jserver.sh
parentCatch up with Wnn6-lib update. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_4_1_1'.release/4.1.1
Diffstat (limited to 'net-im/jabber/files/jserver.sh')
-rw-r--r--net-im/jabber/files/jserver.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/net-im/jabber/files/jserver.sh b/net-im/jabber/files/jserver.sh
deleted file mode 100644
index c550ee513139..000000000000
--- a/net-im/jabber/files/jserver.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#! /bin/sh
-
-if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/jserver\.sh\$"); then
- echo "$0: Cannot determine the PREFIX" >&2
- exit 1
-fi
-user=jserver
-rundir=/tmp
-out=${rundir}/jserver.out
-
-export PATH=/bin:/usr/bin:${PREFIX}/bin
-umask 077
-
-test -x ${PREFIX}/bin/jserver || exit 1
-echo -n " jserver"
-cd ${rundir} || exit
-
-arg=${1:-start}
-case $arg in
-start)
- su -f -m ${user} -c \
- "jserver" \
- >>${out} 2>&1 &;;
-
-stop)
- killall jserver;;
-esac