From d3b80c706a5050835065481c3c7001a921130cd4 Mon Sep 17 00:00:00 2001 From: ajacoutot <> Date: Wed, 21 Nov 2012 08:07:33 +0000 Subject: [PATCH] rc_restart() does not exists. What the 'restart' action does is to run 'stop' then 'start'; so to prevent this daemon from restarting itself, rc_stop=NO is enough. ok robert@ --- src/etc/rc.d/amd | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/etc/rc.d/amd b/src/etc/rc.d/amd index 82b3634d..37c97c52 100644 --- a/src/etc/rc.d/amd +++ b/src/etc/rc.d/amd @@ -1,13 +1,12 @@ #!/bin/sh # -# $OpenBSD: amd,v 1.4 2011/08/22 08:02:04 nicm Exp $ +# $OpenBSD: amd,v 1.5 2012/11/21 08:07:33 ajacoutot Exp $ daemon="/usr/sbin/amd" . /etc/rc.d/rc.subr rc_reload=NO -rc_restart=NO rc_stop=NO rc_pre() {