/WebThing
#!/bin/sh

export WEBTHING_HOME=`dirname "$0"`

# We change directories because we don't have a proper configuration
# architecture, yet.
cd "$WEBTHING_HOME"

export LD_LIBRARY_PATH=$WEBTHING_HOME/lib:$WEBTHING_HOME/plugins:$LD_LIBRARY_PATH

exec mono $WEBTHING_HOME/WebThingMain.exe "$@" >/dev/null 2>&1