diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2011-09-19 20:42:25 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2011-09-19 20:42:25 +0000 |
commit | a86cb4f731f7887e6ec8d9213d96355edce9f31c (patch) | |
tree | 33cdfa6af7ae78e5b66dd43846f801251f620b37 | |
parent | 6a83587c67ca647c29002c03131a08a365d5d56b (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@
-rw-r--r-- | etc/rc.d/ftpd | 3 | ||||
-rw-r--r-- | etc/rc.d/identd | 3 | ||||
-rw-r--r-- | etc/rc.d/mopd | 3 | ||||
-rw-r--r-- | etc/rc.d/popa3d | 3 | ||||
-rw-r--r-- | etc/rc.d/rarpd | 3 |
5 files changed, 10 insertions, 5 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 diff --git a/etc/rc.d/identd b/etc/rc.d/identd index aa21dfb0078..83ac229c615 100644 --- a/etc/rc.d/identd +++ b/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/etc/rc.d/mopd b/etc/rc.d/mopd index 2f806ebfe8b..63327cb4130 100644 --- a/etc/rc.d/mopd +++ b/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/etc/rc.d/popa3d b/etc/rc.d/popa3d index dfe37a173d2..86cf0f825da 100644 --- a/etc/rc.d/popa3d +++ b/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/etc/rc.d/rarpd b/etc/rc.d/rarpd index e63053b211e..705eebfa2f8 100644 --- a/etc/rc.d/rarpd +++ b/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 |