3 # init.d script for HELM daemons
5 # by --Zack <zack@cs.unibo.it>
6 # Created: Wed, 9 Oct 2002 14:26:27 +0200
7 # Last-Modified: Wed, 9 Oct 2002 14:26:27 +0200
11 if [ -f /etc/default/helm_mowgli ]; then
12 . /etc/default/helm_mowgli
14 test -x "$UWOBO_INIT_SCRIPT" || exit 0
15 if ! [ -f "$ENVSCRIPT" ]; then
16 echo "Can't find environment script '$ENVSCRIPT'"
19 . $ENVSCRIPT &> /dev/null
24 echo -n "Loading UWOBO stylesheets (mowgli) ... "
25 $UWOBO_INIT_SCRIPT > /dev/null
27 echo -n "Loading UWOBO stylesheets (mowgli NuPRL) ... "
28 $UWOBO_INIT_SCRIPT $NUPRL_UWOBO_PANEL_CONF > /dev/null
33 $UWOBO_INIT_SCRIPT --unload > /dev/null
34 $UWOBO_INIT_SCRIPT --unload $NUPRL_UWOBO_PANEL_CONF > /dev/null
38 $UWOBO_INIT_SCRIPT --reload > /dev/null
39 $UWOBO_INIT_SCRIPT --reload $NUPRL_UWOBO_PANEL_CONF > /dev/null
43 $UWOBO_INIT_SCRIPT --unload > /dev/null
44 $UWOBO_INIT_SCRIPT --unload $NUPRL_UWOBO_PANEL_CONF > /dev/null
45 $UWOBO_INIT_SCRIPT > /dev/null
46 $UWOBO_INIT_SCRIPT $NUPRL_UWOBO_PANEL_CONF > /dev/null
51 echo "Usage: /etc/init.d/helm-tomcat_mowgli { start | stop | restart | reload }" >&2