aboutsummaryrefslogtreecommitdiff
path: root/ftp
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 /ftp
parentfa0d9a172b976c1ed404f1db04f65f3b3055808e (diff)
downloadports-94818a7cab4119810ef85b1eacca6e4824d02378.tar.gz
ports-94818a7cab4119810ef85b1eacca6e4824d02378.zip
Notes
Diffstat (limited to 'ftp')
-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
}