Browse Source

Unbreak after the rc_do->_rc_do and rc_wait->_rc_wait renaming.

If someone wants to take a shot a modifying this rc script so that it does
not use internal rc.subr functions, be my guest...
spotted by jsg@
OPENBSD_5_6
ajacoutot 10 years ago
parent
commit
a8aa89637a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/rc.d/spamd

+ 2
- 2
src/etc/rc.d/spamd View File

@ -1,6 +1,6 @@
#!/bin/sh
#
# $OpenBSD: spamd,v 1.4 2013/12/17 09:19:45 halex Exp $
# $OpenBSD: spamd,v 1.5 2014/07/17 15:00:06 ajacoutot Exp $
daemon="/usr/libexec/spamd"
@ -20,7 +20,7 @@ rc_start() {
spamd_setup_flags="-D"
[ X"${spamd_black}" != X"NO" ] && \
spamd_setup_flags="-b ${spamd_setup_flags}"
rc_do rc_wait start && /usr/libexec/spamd-setup ${spamd_setup_flags}
_rc_do _rc_wait start && /usr/libexec/spamd-setup ${spamd_setup_flags}
}
rc_cmd $1

Loading…
Cancel
Save