SOURCES: vsftpd.init - allow ipv6 listening.
pluto
pluto at pld-linux.org
Thu Jul 13 11:29:24 CEST 2006
Author: pluto Date: Thu Jul 13 09:29:24 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- allow ipv6 listening.
---- Files affected:
SOURCES:
vsftpd.init (1.1 -> 1.2)
---- Diffs:
================================================================
Index: SOURCES/vsftpd.init
diff -u SOURCES/vsftpd.init:1.1 SOURCES/vsftpd.init:1.2
--- SOURCES/vsftpd.init:1.1 Thu Jan 12 15:59:58 2006
+++ SOURCES/vsftpd.init Thu Jul 13 11:29:18 2006
@@ -29,8 +29,8 @@
# Check if the service is already running?
if [ ! -f /var/lock/subsys/vsftpd ]; then
# Check if we have 'Listen=yes' in config
- if ! egrep -q '^listen=([Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|1)' /etc/vsftpd.conf; then
- echo "error: Missing 'listen=yes' directive in /etc/vsftpd.conf!"
+ if ! egrep -q '^(listen|listen_ipv6)=([Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|1)' /etc/vsftpd.conf; then
+ echo "error: Missing 'listen=yes' or 'listen_ipv6=yes' directive in /etc/vsftpd.conf!"
exit 1
fi;
msg_starting vsftpd
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/vsftpd.init?r1=1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list