diff options
| author | 2001-07-27 09:55:07 +0000 | |
|---|---|---|
| committer | 2001-07-27 09:55:07 +0000 | |
| commit | ec1f6c03f6b1c522f00a1b37841e102af926600c (patch) | |
| tree | e098adcd97f87315881778b9d980cfcb3be855dd /sys/kern/init_main.c | |
| parent | short information about setpass + cleanup (diff) | |
| download | wireguard-openbsd-ec1f6c03f6b1c522f00a1b37841e102af926600c.tar.xz wireguard-openbsd-ec1f6c03f6b1c522f00a1b37841e102af926600c.zip | |
Startup hooks. Can be used for providing root/swap devices from device
systems which want configuration to finish late, like I2O. Implemented via
a general hooks mechanism which the shutdown hooks have been converted to
use as well. It even has manpages!
Diffstat (limited to 'sys/kern/init_main.c')
| -rw-r--r-- | sys/kern/init_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/init_main.c b/sys/kern/init_main.c index 61f2ade8124..2f6d4da0e1e 100644 --- a/sys/kern/init_main.c +++ b/sys/kern/init_main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: init_main.c,v 1.72 2001/07/05 10:12:24 art Exp $ */ +/* $OpenBSD: init_main.c,v 1.73 2001/07/27 09:55:07 niklas Exp $ */ /* $NetBSD: init_main.c,v 1.84.4.1 1996/06/02 09:08:06 mrg Exp $ */ /* @@ -360,6 +360,8 @@ main(framep) /* Start the scheduler */ scheduler_start(); + dostartuphooks(); + /* Configure root/swap devices */ if (md_diskconf) (*md_diskconf)(); |
