From: ajacoutot Date: Thu, 17 Jul 2014 15:00:06 +0000 (+0000) Subject: Unbreak after the rc_do->_rc_do and rc_wait->_rc_wait renaming. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=af67e104858401c2d9baeb3f7a9340613279fbd7;p=openbsd 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@ --- diff --git a/etc/rc.d/spamd b/etc/rc.d/spamd index caee8043583..e8183f58fee 100644 --- a/etc/rc.d/spamd +++ b/etc/rc.d/spamd @@ -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