]> git.pld-linux.org Git - packages/pure-ftpd.git/commitdiff
- 1.0.13 pure-ftpd-1_0_14-2
authorareq <areq@pld-linux.org>
Tue, 26 Nov 2002 14:41:05 +0000 (14:41 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    pure-ftpd.init -> 1.4

pure-ftpd.init

index a347e151bceb7a47abca1944840b0915ec65c1c7..afd5b2796141ab16a8f34f8e547334a214f94c0f 100644 (file)
@@ -22,14 +22,6 @@ if is_no "${NETWORKING}"; then
         exit 1
 fi
 
-if [ -f /etc/ftpd/pureftpd.conf ]; then
-    PUREFTPD_OPTS=$(grep -E -v "^\W*#" /etc/ftpd/pureftpd.conf | xargs)
-fi
-
-if [ -f /etc/ftpd/pureftpd-mysql.conf ]; then
-    PUREFTPD_OPTS="${PUREFTPD_OPTS} -l mysql:/etc/ftpd/pureftpd-mysql.conf"
-fi
-
 # See how we were called.
 case "$1" in
   start)
@@ -37,7 +29,7 @@ case "$1" in
         if [ ! -f /var/lock/subsys/pure-ftpd ]; then
                msg_starting pure-ftpd
                rm -f /var/run/pure-ftpd/client*
-               daemon pure-ftpd $PUREFTPD_OPTS --daemonize
+               daemon pure-config.pl /etc/ftpd/pure-ftpd.conf --daemonize
                RETVAL=$?
                [ $RETVAL -eq 0 ] && touch /var/lock/subsys/pure-ftpd
        else
This page took 0.042025 seconds and 4 git commands to generate.