From b89b8218b37d5ff8c15bdefd5361060d80ba7f6b Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Wed, 19 Oct 2022 21:04:45 +0000 Subject: [PATCH] Drop support for $rcexec; people should now use the rc_exec function. prodded by jsg@ --- etc/rc.d/rc.subr | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/etc/rc.d/rc.subr b/etc/rc.d/rc.subr index 1d8c61c4ce1..502a469af70 100644 --- a/etc/rc.d/rc.subr +++ b/etc/rc.d/rc.subr @@ -1,4 +1,4 @@ -# $OpenBSD: rc.subr,v 1.159 2022/09/08 13:17:30 ajacoutot Exp $ +# $OpenBSD: rc.subr,v 1.160 2022/10/19 21:04:45 ajacoutot Exp $ # # Copyright (c) 2010, 2011, 2014-2022 Antoine Jacoutot # Copyright (c) 2010, 2011 Ingo Schwarze @@ -374,5 +374,3 @@ unset _rcexecdir _rcflags _rclogger _rcrtable _rctimeout _rcuser # the shell will strip the quotes from daemon_flags when starting a daemon; # make sure pexp matches the process (i.e. doesn't include the quotes) pexp="$(eval echo ${daemon}${daemon_flags:+ ${daemon_flags}})" -# XXX old construct compatibility; remove after OPENBSD_7_2_RELEASE -rcexec=rc_exec -- 2.20.1