#!/bin/sh

PREFIX="/usr/local"

# Source our functions
. ${PREFIX}/share/overmind/overmind-lib.sh

usage()
{
  cat << EOF

EOF
}

locate_pool
if [ $? -ne 0 ] ; then
  echo "overmind has not yet been setup. Please run 'overmind init'"
  exit 0
fi

case $1 in
   restart_dhcpd) enable_dhcpd ;;
   init) do_init ;;
   *) usage ;;
esac

#!/bin/sh

PREFIX="/usr/local"

# Source our functions
. ${PREFIX}/share/overmind/overmind-lib.sh

usage()
{
  cat << EOF

EOF
}

locate_pool
if [ $? -ne 0 ] ; then
  if [ ${1} = "init" ] ; then
    do_init
  fi
  echo "overmind has not yet been setup. Please run 'overmind init'"
  exit 0
fi

case $1 in
   restart_dhcpd) enable_dhcpd ;;
   *) usage ;;
esac

Fix usage of init check
Fix usage of init check
