diff options
author | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-21 12:48:22 +0000 |
---|---|---|
committer | Kirill Ponomarev <krion@FreeBSD.org> | 2004-07-21 12:48:22 +0000 |
commit | de62a040183efa391c5aeeaa89dc6496fbaccc24 (patch) | |
tree | 3cb2023450065fb21e640909f27f90112af9f665 /ftp/bsdftpd-ssl/files/bsdftpd-ssl.sh | |
parent | Update to 1.0.7 (diff) |
Update to 1.0.2
PR: ports/69343
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=114344
Diffstat (limited to 'ftp/bsdftpd-ssl/files/bsdftpd-ssl.sh')
-rw-r--r-- | ftp/bsdftpd-ssl/files/bsdftpd-ssl.sh | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/ftp/bsdftpd-ssl/files/bsdftpd-ssl.sh b/ftp/bsdftpd-ssl/files/bsdftpd-ssl.sh index 7ac97ef97405..a5f27ddfca2f 100644 --- a/ftp/bsdftpd-ssl/files/bsdftpd-ssl.sh +++ b/ftp/bsdftpd-ssl/files/bsdftpd-ssl.sh @@ -1,5 +1,10 @@ #!/bin/sh +# Add extra options here for the BSDftpd-ssl FTP server. +# See ftpd-ssl(8) for more details. +EXTRAOPTS="-l" + +# You shouldn't edit anything below... if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then echo "$0: Cannot determine the PREFIX" >&2 exit 1 @@ -8,7 +13,7 @@ fi case "$1" in start) if [ -x ${PREFIX}/libexec/ftpd ]; then - ${PREFIX}/libexec/ftpd -D -l -p /var/run/ftpd.pid > /dev/null + ${PREFIX}/libexec/ftpd -D -p /var/run/ftpd.pid ${EXTRAOPTS} > /dev/null echo -n ' BSDftpd-ssl' fi ;; |