rc.shutdown(8) on OpenBSD
The text ebd66bef5c38, as OpenBSD 6.7, OpenBSD 6.6, OpenBSD 6.5, OpenBSD 6.4, OpenBSD 6.3, OpenBSD 6.2 shipped it.
command script run at system shutdown
The text ebd66bef5c38, as OpenBSD 6.7, OpenBSD 6.6, OpenBSD 6.5, OpenBSD 6.4, OpenBSD 6.3, OpenBSD 6.2 shipped it.
command script run at system shutdown