diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2005-11-02 16:51:11 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2005-11-02 16:51:11 +0000 |
commit | 94818a7cab4119810ef85b1eacca6e4824d02378 (patch) | |
tree | c321ea50c191a2ffc2d571cc2aca387b9ba762f3 /ftp | |
parent | fa0d9a172b976c1ed404f1db04f65f3b3055808e (diff) | |
download | ports-94818a7cab4119810ef85b1eacca6e4824d02378.tar.gz ports-94818a7cab4119810ef85b1eacca6e4824d02378.zip |
Notes
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/vsftpd/files/vsftpd.sh.in | 6 |
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 } |