git: 3815600910d2 - stable/12 - rc.d/var_run: Add needed "shutdown" keyword
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 23 Sep 2022 00:43:58 UTC
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