#! /bin/sh

. "`dirname $0`/rcdefs"

case "$1" in
  start)
    Print -n "Starting BeroFTPD... "
    ${NET}/BeroFTPD ${BEROFTPD_OPTIONS}
    Print "done."
    ;;
  stop)
    Print -n "Stopping BeroFTPD... "
    Terminate BeroFTPD ${RUN}/ftpd.pid
    Print "done."
    ;;
  *)
    Usage "$0"
    exit 1
esac

exit 0
