diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-11-28 02:11:34 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-11-28 02:11:34 +0000 |
commit | cd70248c083c98e176e2684eff64c7486ab2f022 (patch) | |
tree | 51a7aa272898ad571ae2e523f3ee57aa56eb3e35 /sys/kern/kern_subr.c | |
parent | 8a574ceecdddb14c9d84a0b506f2c7413ec744b2 (diff) |
mountroothooks are called after the root filesystem is mounted.
Diffstat (limited to 'sys/kern/kern_subr.c')
-rw-r--r-- | sys/kern/kern_subr.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/kern/kern_subr.c b/sys/kern/kern_subr.c index 32e659af713..b16f5f0671d 100644 --- a/sys/kern/kern_subr.c +++ b/sys/kern/kern_subr.c @@ -1,4 +1,4 @@ -/* $OpenBSD: kern_subr.c,v 1.28 2004/06/13 21:49:26 niklas Exp $ */ +/* $OpenBSD: kern_subr.c,v 1.29 2004/11/28 02:11:33 deraadt Exp $ */ /* $NetBSD: kern_subr.c,v 1.15 1996/04/09 17:21:56 ragge Exp $ */ /* @@ -194,6 +194,8 @@ struct hook_desc_head startuphook_list = TAILQ_HEAD_INITIALIZER(startuphook_list); struct hook_desc_head shutdownhook_list = TAILQ_HEAD_INITIALIZER(shutdownhook_list); +struct hook_desc_head mountroothook_list = + TAILQ_HEAD_INITIALIZER(mountroothook_list); void * hook_establish(head, tail, fn, arg) |