]> TLD Linux GIT Repositories - packages/vsftpd.git/blobdiff - vsftpd.init
- migrated config to /etc/vsftpd, cleanup
[packages/vsftpd.git] / vsftpd.init
index 811b710023f022192c25b32d401c8e322915d747..9fa8b09bd0df497713721923bba5a5bf1e3f0942 100644 (file)
@@ -26,8 +26,8 @@ start() {
        # 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|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!"
+               if ! egrep -q '^(listen|listen_ipv6)=([Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|1)' /etc/vsftpd/vsftpd.conf; then
+                       echo "error: Missing 'listen=yes' or 'listen_ipv6=yes' directive in /etc/vsftpd/vsftpd.conf!"
                        exit 1
                fi;
                # try to load capability module