6 PID
=`pidof -o %PPID /usr/sbin/proftpd`
9 stat_busy
"Starting ProFTPd Server"
10 [ -z "$PID" ] && /usr
/sbin
/proftpd
14 echo $PID > /var
/run
/proftpd.pid
20 stat_busy
"Stopping ProFTPd Server"
21 [ ! -z "$PID" ] && kill $PID &> /dev
/null
25 rm /var
/run
/proftpd.pid
36 echo "usage: $0 {start|stop|restart}"