aboutsummaryrefslogtreecommitdiff
path: root/ftp/vsftpd/files/vsftpd.sh.in
diff options
context:
space:
mode:
Diffstat (limited to 'ftp/vsftpd/files/vsftpd.sh.in')
-rw-r--r--ftp/vsftpd/files/vsftpd.sh.in14
1 files changed, 11 insertions, 3 deletions
diff --git a/ftp/vsftpd/files/vsftpd.sh.in b/ftp/vsftpd/files/vsftpd.sh.in
index 16e069ccf372..3ce7bb15982f 100644
--- a/ftp/vsftpd/files/vsftpd.sh.in
+++ b/ftp/vsftpd/files/vsftpd.sh.in
@@ -6,11 +6,19 @@
# PROVIDE: vsftpd
# REQUIRE: DAEMON
-# Add the following line to /etc/rc.conf to enable `vsftpd':
+# To enable 'vsftpd' in standalone mode, you need to edit two files.
+# 1. add the following line(s) to /etc/rc.conf to enable `vsftpd':
#
# vsftpd_enable="YES"
# vsftpd_flags="/some/path/conf.file" # Not required
#
+# 2. tell vsftpd about standalone mode
+# Edit %%PREFIX%%/etc/vsftpd.conf (or /some/path/conf.file) to contain
+#
+# listen=YES
+# background=YES
+#
+# Samples are provided at the end of the configuration file.
. "%%RC_SUBR%%"
@@ -33,11 +41,11 @@ vsftpd_check()
fi
if ! egrep -q -i -E "^listen.*=.*YES$" ${required_files}
then
- err 1 "vsftpd script need "listen=YES" on config file"
+ err 1 'vsftpd script need "listen=YES" in config file'
fi
if ! egrep -q -i -E "^background.*=.*YES$" ${required_files}
then
- err 1 "vsftpd script need "background=YES" on config file"
+ err 1 'vsftpd script need "background=YES" in config file'
fi
}