summaryrefslogtreecommitdiffstats
path: root/generic/etc
diff options
context:
space:
mode:
authorMarc Kleine-Budde <mkl@pengutronix.de>2011-03-17 13:42:23 +0100
committerMarc Kleine-Budde <mkl@pengutronix.de>2011-03-22 10:55:06 +0100
commitd9516adf38b4185bc6e9cfaf83f387c581b96ccc (patch)
tree04e8e1628097ec341db5c6f303bdd6b5907f8651 /generic/etc
parenta73295174df1f784408f29b1b75cbf125ceb1c50 (diff)
downloadptxdist-d9516adf38b4185bc6e9cfaf83f387c581b96ccc.tar.gz
ptxdist-d9516adf38b4185bc6e9cfaf83f387c581b96ccc.tar.xz
pureftpd: disable dns lookups by default
...otherwise clients may not be able to connect. Don't start with "&", let pureftp daemonize itself. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Diffstat (limited to 'generic/etc')
-rw-r--r--generic/etc/init.d/pureftpd4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/etc/init.d/pureftpd b/generic/etc/init.d/pureftpd
index 495eb1720..31676459d 100644
--- a/generic/etc/init.d/pureftpd
+++ b/generic/etc/init.d/pureftpd
@@ -9,7 +9,7 @@ PATH=/bin:/usr/bin:/sbin:/usr/sbin
DAEMON="pure-ftpd"
NAME="pure-ftpd"
PREFIX="pure-ftpd: "
-DAEMON_OPTIONS=""
+DAEMON_OPTIONS="-B -H"
DAEMON_PIDFILE=/var/run/pure-ftpd.pid
HELPER="pure-uploadscript"
@@ -50,7 +50,7 @@ stop_helper(){
start_daemon(){
which $DAEMON
- $DAEMON -g $DAEMON_PIDFILE $DAEMON_OPTIONS &
+ $DAEMON -g $DAEMON_PIDFILE $DAEMON_OPTIONS
}
stop_daemon(){