#!/bin/sh
#
# start http daemon
#
# runlevels: geexbox, debug, configure

# get options
test -f /etc/network || exit 1
. /etc/network

if test "$HTTP_SERVER" = "yes"; then
  echo "### Starting http daemon ###"

  /usr/sbin/httpd -h /var/www >/dev/null 2>&1 &
fi

exit 0
