#!/bin/bash

export PATH=/usr/local/mapguideopensource-3.0.0/server/bin:$PATH
export MENTOR_DICTIONARY_PATH=/usr/local/mapguideopensource-3.0.0/share/gis/coordsys
export LD_LIBRARY_PATH=/usr/local/fdo-4.0.0/lib:"$LD_LIBRARY_PATH"
export NLSPATH=/usr/local/fdo-4.0.0/nls/%N:"$NLSPATH"
mkdir -p /var/lock/mgserver
pushd /usr/local/mapguideopensource-3.0.0/server/bin
./mgserver daemon
popd
