Came here after reading /etc/rc wrt. the shutdown sequence. Feedback?
Index: rc.shutdown.8 =================================================================== RCS file: /cvs/src/share/man/man8/rc.shutdown.8,v retrieving revision 1.16 diff -u -p -r1.16 rc.shutdown.8 --- rc.shutdown.8 16 May 2020 16:58:12 -0000 1.16 +++ rc.shutdown.8 11 May 2023 02:34:44 -0000 @@ -54,6 +54,9 @@ defined in the .Va pkg_scripts variable in .Xr rc.conf.local 8 , +as well as +.Xr vmd 8 , +in that order, by passing them the .Cm stop argument.