diff options
author | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2012-11-21 08:07:34 +0000 |
---|---|---|
committer | Antoine Jacoutot <ajacoutot@cvs.openbsd.org> | 2012-11-21 08:07:34 +0000 |
commit | dd624ad3624e02fa5aa1f525b068a8c6b6906f95 (patch) | |
tree | 458af9fcfb6eca817faa88c2032aa58f09065e28 /etc | |
parent | d5e7a80625e57c492215bd0aee7485c4fa7000d7 (diff) |
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@
Diffstat (limited to 'etc')
-rw-r--r-- | etc/rc.d/amd | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/rc.d/amd b/etc/rc.d/amd index 82b3634d517..37c97c52d52 100644 --- a/etc/rc.d/amd +++ b/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() { |