X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fscripts%2Finit.d%2Fhelm-draw-graph_mowgli;h=a8553fb103552e613cedaba21cf72136797cd0d7;hb=6dc5a75359bd858a997c6f190e35e3c048bf7197;hp=8f052c9b31b6f40ed7c7cf2bed8db01beffa0af4;hpb=d6e74a36ba8d9ff712e7305566858d8910a4be23;p=helm.git diff --git a/helm/scripts/init.d/helm-draw-graph_mowgli b/helm/scripts/init.d/helm-draw-graph_mowgli index 8f052c9b3..a8553fb10 100755 --- a/helm/scripts/init.d/helm-draw-graph_mowgli +++ b/helm/scripts/init.d/helm-draw-graph_mowgli @@ -9,15 +9,9 @@ DAEMON=/projects/helm/daemons/graphs/tools/drawGraph.opt USAGE="Usage: /etc/init.d/helm-draw-graph_mowgli { start | stop | restart }" -ENVSCRIPT="" if [ -f /etc/default/helm_mowgli ]; then . /etc/default/helm_mowgli fi -if ! [ -f "$ENVSCRIPT" ]; then - echo "Can't find environment script '$ENVSCRIPT'" - exit 1 -fi -. $ENVSCRIPT &> /dev/null NAME=`basename $DAEMON` PIDFILE=/var/run/"$NAME"_mowgli.pid