summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/omniORB/files/omniORB.rc5')
-rw-r--r--net-misc/omniORB/files/omniORB.rc538
1 files changed, 0 insertions, 38 deletions
diff --git a/net-misc/omniORB/files/omniORB.rc5 b/net-misc/omniORB/files/omniORB.rc5
deleted file mode 100644
index 26f0197d7db8..000000000000
--- a/net-misc/omniORB/files/omniORB.rc5
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/sh
-#RCUPDATE:3 4:99:This line is required for script management
-
-. /etc/rc.d/config/functions
-
-SERVICE=omniORB
-EXE1="/usr/bin/omniNames"
-EXE2="/usr/bin/notifd"
-opts="start stop restart"
-
-start() {
- if [ ! -d "/var/log/omniORB" ] ; then
- install -d /var/log/omniORB
- fi
- if [ "/var/log/omniORB/omninames*" ] ; then
- rm -f /var/log/omniORB/omninames*
- fi
- ebegin "Starting ${SERVICE}"
- exec $EXE1 -start 2809 -logdir /var/log/omniORB -errlog /var/log/omniORB/omniORB.errors 1>&2 &
- exec $EXE2 -c /etc/omniorb/channel.cfg 1>&2 &
- eend $? "Error starting ${SERVICE}."
-}
-
-stop() {
- ebegin "Stopping ${SERVICE}"
- killall $EXE1 1>&2
- killall $EXE2 1>&2
- eend $? "Error stopping ${SERVICE}."
-}
-
-restart() {
- stop
- start
-}
-
-doservice ${@}
-
-