]> git.pld-linux.org Git - packages/vsftpd.git/commitdiff
- allow ipv6 listening.
authorPaweł Sikora <pluto@pld-linux.org>
Thu, 13 Jul 2006 09:29:18 +0000 (09:29 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    vsftpd.init -> 1.2

vsftpd.init

index eeb63fe504047fbab80d35647256f8e791b13f39..d1f53bd5e2066f02f65f7a00dff19e2ad255430d 100644 (file)
@@ -29,8 +29,8 @@ case "$1" in
        # 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
This page took 0.065002 seconds and 4 git commands to generate.