summaryrefslogtreecommitdiff
path: root/etc/rc.d/ftpd
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2011-09-19 20:42:25 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2011-09-19 20:42:25 +0000
commita86cb4f731f7887e6ec8d9213d96355edce9f31c (patch)
tree33cdfa6af7ae78e5b66dd43846f801251f620b37 /etc/rc.d/ftpd
parent6a83587c67ca647c29002c03131a08a365d5d56b (diff)
Set defaults daemon_flags (same as advertised in rc.conf.local(5) so
that we can use these scripts right away with /etc/rc.d/XXX -f without having to manually set _flags. ok robert@
Diffstat (limited to 'etc/rc.d/ftpd')
-rw-r--r--etc/rc.d/ftpd3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/rc.d/ftpd b/etc/rc.d/ftpd
index 2ea6bf1a78c..d998345b155 100644
--- a/etc/rc.d/ftpd
+++ b/etc/rc.d/ftpd
@@ -1,8 +1,9 @@
#!/bin/sh
#
-# $OpenBSD: ftpd,v 1.1 2011/07/06 18:55:36 robert Exp $
+# $OpenBSD: ftpd,v 1.2 2011/09/19 20:42:24 ajacoutot Exp $
daemon="/usr/libexec/ftpd"
+daemon_flags="-D"
. /etc/rc.d/rc.subr