Browse Source

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@
OPENBSD_5_3
ajacoutot 11 years ago
parent
commit
d3b80c706a
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      src/etc/rc.d/amd

+ 1
- 2
src/etc/rc.d/amd View File

@ -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() {


Loading…
Cancel
Save