git: b77b3099685f - main - rc.d/var_run: Add needed "shutdown" keyword
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 20 Sep 2022 18:50:45 UTC
The branch main has been updated by cy:
URL: https://cgit.FreeBSD.org/src/commit/?id=b77b3099685f27fa1da89cb5b8f376bef87b05ec
commit b77b3099685f27fa1da89cb5b8f376bef87b05ec
Author: Cy Schubert <cy@FreeBSD.org>
AuthorDate: 2022-09-20 18:44:11 +0000
Commit: Cy Schubert <cy@FreeBSD.org>
CommitDate: 2022-09-20 18:44:11 +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
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