summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2005-11-02 16:51:11 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2005-11-02 16:51:11 +0000
commit94818a7cab4119810ef85b1eacca6e4824d02378 (patch)
treec321ea50c191a2ffc2d571cc2aca387b9ba762f3
parent- Unbreak on 4.x by USE_GCC=3.2+ (diff)
- more fixes for RC_NG
Submitted by: Imri Zvik
Notes
Notes: svn path=/head/; revision=147035
-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
}