aboutsummaryrefslogtreecommitdiffstats
path: root/ftp/vsftpd
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2005-11-03 00:51:11 +0800
committerdinoex <dinoex@FreeBSD.org>2005-11-03 00:51:11 +0800
commit33e83b365e5a63908446625ad9072c7ee82419da (patch)
tree10c6159209930d48936b6e362cb7eeb7dbbcdf09 /ftp/vsftpd
parenta903d036b4ed1940447d66e118ac2d6b88859113 (diff)
downloadfreebsd-ports-gnome-33e83b365e5a63908446625ad9072c7ee82419da.tar.gz
freebsd-ports-gnome-33e83b365e5a63908446625ad9072c7ee82419da.tar.zst
freebsd-ports-gnome-33e83b365e5a63908446625ad9072c7ee82419da.zip
- more fixes for RC_NG
Submitted by: Imri Zvik
Diffstat (limited to 'ftp/vsftpd')
-rw-r--r--ftp/vsftpd/files/vsftpd.sh.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/ftp/vsftpd/files/vsftpd.sh.in b/ftp/vsftpd/files/vsftpd.sh.in
index cbff7e00c8e1..23d4ea158688 100644
--- a/ftp/vsftpd/files/vsftpd.sh.in
+++ b/ftp/vsftpd/files/vsftpd.sh.in
@@ -27,15 +27,15 @@ required_files="%%PREFIX%%/etc/$name.conf"
vsftpd_check()
{
- if grep -q "^ftp[ ]" /etc/inetd.conf
+ if grep -q "^ftp[ ]" /etc/inetd.conf ${required_files}
then
err 1 "ftp is already activated in /etc/inetd.conf"
fi
- if ! egrep -q -i -E "^listen.*=.*YES$"
+ if ! egrep -q -i -E "^listen.*=.*YES$" ${required_files}
then
err 1 "vsftpd script need "listen=YES" on config file"
fi
- if ! egrep -q -i -E "^background.*=.*YES$"
+ if ! egrep -q -i -E "^background.*=.*YES$" ${required_files}
err 1 "vsftpd script need "background=YES" on config file"
fi
}