diff options
Diffstat (limited to 'ftp/proftpd-devel/files/proftpd.sh.sample')
-rw-r--r-- | ftp/proftpd-devel/files/proftpd.sh.sample | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/ftp/proftpd-devel/files/proftpd.sh.sample b/ftp/proftpd-devel/files/proftpd.sh.sample new file mode 100644 index 000000000000..d2598672f5e2 --- /dev/null +++ b/ftp/proftpd-devel/files/proftpd.sh.sample @@ -0,0 +1,18 @@ +#!/bin/sh + +case "$1" in + +start) + if [ -x /usr/local/libexec/proftpd ]; then + /usr/local/libexec/proftpd && echo -n ' proftpd' + fi + ;; + +stop) + killall proftpd + ;; +*) + echo "$0 start | stop" + ;; + +esac |