Revision f83cb328f6e6bc81c67e49c5dd1972716c42d165 authored by Paul Russo on 23 June 2008, 15:48:41 UTC, committed by Paul Russo on 23 June 2008, 15:48:41 UTC
to the rawtype node, not the top node. Fix G__test_static, G__AUTOARYDISCRETEOBJ needs to test the statictype property directly. -- Philippe Canal and Paul Russo git-svn-id: http://root.cern.ch/svn/root/trunk@24487 27541ba8-7e3a-0410-8455-c3a389f83636
1 parent 230b409
olbd.in
#! /bin/sh
#
# olbdd Start/Stop the OLBD daemon
#
# chkconfig: 345 20 80
# description: The olbd daemon runs the XRD control network.
#
# processname: olbd
# pidfile: /var/run/olbd.pid
# config:
OLBD=@bindir@/olbd
OLBDLIBS=@libdir@
# Source function library.
. /etc/init.d/functions
# Get config.
. /etc/sysconfig/network
# Get olbd config
[ -f /etc/sysconfig/olbd ] && . /etc/sysconfig/olbd
# Configure the environment
[ ! -z "$OLBDENVCONFIG" ] && [ -f "$OLBDENVCONFIG" ] && . $OLBDENVCONFIG
# Check that networking is up.
if [ ${NETWORKING} = "no" ]
then
exit 0
fi
[ -x $OLBD ] || exit 0
RETVAL=0
prog="olbd"
start() {
echo -n $"Starting $prog: "
# Options are specified in /etc/sysconfig/olbd .
# See $ROOTSYS/etc/daemons/olbd.sysconfig for an example.
# $OLBDUSER *must* be the name of an existing non-privileged user.
export LD_LIBRARY_PATH=$OLBDLIBS:$LD_LIBRARY_PATH
daemon $OLBD -b -l $OLBDLOG -R $OLBDUSER -c $OLBDCF $OLBDDEBUG
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && touch /var/lock/subsys/olbd
return $RETVAL
}
stop() {
[ ! -f /var/lock/subsys/olbd ] && return 0 || true
echo -n $"Stopping $prog: "
killproc olbd
RETVAL=$?
echo
[ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/olbd
return $RETVAL
}
# See how we were called.
case "$1" in
start)
start
;;
stop)
stop
;;
status)
status olbd
RETVAL=$?
;;
restart|reload)
stop
start
;;
condrestart)
if [ -f /var/lock/subsys/olbd ]; then
stop
start
fi
;;
*)
echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}"
exit 1
esac
exit $RETVAL
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...