#! /bin/sh

. "`dirname $0`/rcdefs"

case "$1" in
  start)
    Print -n "Starting proftpd... "
    ${NET}/proftpd
    Print "done."
    ;;
  stop)
    Print -n "Stopping proftpd... "
    cd ${RUN} && kill `${BIN_LS} proftpd-* | ${BIN_CUT} -c9-20`
    Print "done."
    ;;
  *)
    Usage "$0"
    exit 1
esac

exit 0
