#!/bin/sh

# Web browser launcher

if [ -e /tmp/.cocon.cnf ];
then
  . /tmp/.cocon.cnf
fi
if [ -e /tmp/.cocon.cnf.part ];
then
  . /tmp/.cocon.cnf.part
fi

if [ -z $COCON_WWW_START ];
then
  COCON_WWW_START="http://www.opencocon.org/"
fi


# Just run browser
export LD_LIBRARY_PATH="${LD_LIBRARY_PATH}:/usr/lib/firefox"
exec firefox "$COCON_WWW_START"

