From b77b3099685f27fa1da89cb5b8f376bef87b05ec Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Tue, 20 Sep 2022 11:44:11 -0700 Subject: [PATCH] rc.d/var_run: Add needed "shutdown" keyword The "shutdown" keyword invokes rcorder with the -k flag, for rc scripts with the keyword at shutdown. Reported by: bdrewery Fixes: 27b9777c28b4 MFC after: 3 days Differential Revision: --- libexec/rc/rc.d/var_run | 1 + 1 file changed, 1 insertion(+) diff --git a/libexec/rc/rc.d/var_run b/libexec/rc/rc.d/var_run index 8da3f40a0e7c..daff06ce1a3f 100755 --- a/libexec/rc/rc.d/var_run +++ b/libexec/rc/rc.d/var_run @@ -3,6 +3,7 @@ # PROVIDE: var_run # REQUIRE: mountcritlocal # BEFORE: cleanvar +# KEYWORD: shutdown . /etc/rc.subr