Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Sep 2022 00:43:58 GMT
From:      Cy Schubert <cy@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 3815600910d2 - stable/12 - rc.d/var_run: Add needed "shutdown" keyword
Message-ID:  <202209230043.28N0hw4Z083054@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/12 has been updated by cy:

URL: https://cgit.FreeBSD.org/src/commit/?id=3815600910d2f0c2be9466462795b8d5023bc27f

commit 3815600910d2f0c2be9466462795b8d5023bc27f
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:43:36 +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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202209230043.28N0hw4Z083054>