5492aae1af
- install xferlog.5 manpage - create /var/run/proftpd in the rc.d startup script so that it will be recreated during the next boot.
19 lines
232 B
Bash
19 lines
232 B
Bash
#!/bin/sh
|
|
|
|
case "$1" in
|
|
|
|
start)
|
|
/bin/mkdir -p /var/run/proftpd
|
|
if [ -x /usr/local/libexec/proftpd ]; then
|
|
/usr/local/libexec/proftpd && echo -n ' proftpd'
|
|
fi
|
|
;;
|
|
|
|
stop)
|
|
killall proftpd
|
|
;;
|
|
*)
|
|
echo "$0 start | stop"
|
|
;;
|
|
|
|
esac
|