#!/bin/sh
case "$1" in
start)
if [ -x /usr/local/proftpd/sbin/proftpd ]; then
/usr/local/proftpd/sbin/proftpd && echo -n ' proftpd'
fi
;;
stop)
killall proftpd
;;
*)
echo "$0 start | stop"
;;
esac