From 0ebd8d99c983110bb68f56c0b6f4e11aa81c9f30 Mon Sep 17 00:00:00 2001 From: ajacoutot <> Date: Mon, 19 Sep 2011 20:42:24 +0000 Subject: [PATCH] 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@ --- src/etc/rc.d/ftpd | 3 ++- src/etc/rc.d/identd | 3 ++- src/etc/rc.d/mopd | 3 ++- src/etc/rc.d/popa3d | 3 ++- src/etc/rc.d/rarpd | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/etc/rc.d/ftpd b/src/etc/rc.d/ftpd index 2ea6bf1a..d998345b 100644 --- a/src/etc/rc.d/ftpd +++ b/src/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 diff --git a/src/etc/rc.d/identd b/src/etc/rc.d/identd index aa21dfb0..83ac229c 100644 --- a/src/etc/rc.d/identd +++ b/src/etc/rc.d/identd @@ -1,8 +1,9 @@ #!/bin/sh # -# $OpenBSD: identd,v 1.1 2011/07/06 18:55:36 robert Exp $ +# $OpenBSD: identd,v 1.2 2011/09/19 20:42:24 ajacoutot Exp $ daemon="/usr/libexec/identd" +daemon_flags="-b -elo" . /etc/rc.d/rc.subr diff --git a/src/etc/rc.d/mopd b/src/etc/rc.d/mopd index 2f806ebf..63327cb4 100644 --- a/src/etc/rc.d/mopd +++ b/src/etc/rc.d/mopd @@ -1,8 +1,9 @@ #!/bin/sh # -# $OpenBSD: mopd,v 1.2 2011/07/08 02:15:34 robert Exp $ +# $OpenBSD: mopd,v 1.3 2011/09/19 20:42:24 ajacoutot Exp $ daemon="/usr/sbin/mopd" +daemon_flags="-a" . /etc/rc.d/rc.subr diff --git a/src/etc/rc.d/popa3d b/src/etc/rc.d/popa3d index dfe37a17..86cf0f82 100644 --- a/src/etc/rc.d/popa3d +++ b/src/etc/rc.d/popa3d @@ -1,8 +1,9 @@ #!/bin/sh # -# $OpenBSD: popa3d,v 1.1 2011/09/16 10:11:20 robert Exp $ +# $OpenBSD: popa3d,v 1.2 2011/09/19 20:42:24 ajacoutot Exp $ daemon="/usr/sbin/popa3d" +daemon_flags="-D" . /etc/rc.d/rc.subr diff --git a/src/etc/rc.d/rarpd b/src/etc/rc.d/rarpd index e63053b2..705eebfa 100644 --- a/src/etc/rc.d/rarpd +++ b/src/etc/rc.d/rarpd @@ -1,8 +1,9 @@ #!/bin/sh # -# $OpenBSD: rarpd,v 1.2 2011/07/08 02:15:34 robert Exp $ +# $OpenBSD: rarpd,v 1.3 2011/09/19 20:42:24 ajacoutot Exp $ daemon="/usr/sbin/rarpd" +daemon_flags="-a" . /etc/rc.d/rc.subr