git: 8c857fedfe16 - stable/13 - rc.d/var_run: Add needed "shutdown" keyword

From: Cy Schubert <cy_at_FreeBSD.org>
Date: Fri, 23 Sep 2022 00:42:43 UTC
The branch stable/13 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=8c857fedfe16332bbe2a1be358f5fc03a1b49c82

commit 8c857fedfe16332bbe2a1be358f5fc03a1b49c82
Author:     Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-09-20 18:44:11 +0000
Commit:     Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-09-23 00:42:07 +0000

    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
    
    (cherry picked from commit b77b3099685f27fa1da89cb5b8f376bef87b05ec)
---
 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