#!/bin/sh


BCNUNOLOG="yes"
#. /usr/local/bcnu/etc/bcnuenv
. $BCNUHOME/agent/agent_head

# build stuff needed for web interface
$BCNUHOME/agent/bcnuinfo

buildopts="-ad"

if [ "$BCNUPARAM" = "MONITOR" ] # to allow monitoring only
then
	buildopts="-m"
fi

$BCNUHOME/scripts/buildweb $buildopts

