diff options
author | julian <julian@FreeBSD.org> | 1996-08-22 03:50:33 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 1996-08-22 03:50:33 +0000 |
commit | e5048c6cd53c81e64bc5beaf9cc05549039c4188 (patch) | |
tree | 36f241a22c1b649e9fd947dfe20092d354b2dfe0 /sys/dev/vn | |
parent | 2da1db6ea869d363d2b95c24f7947a1905a0183d (diff) | |
download | FreeBSD-src-e5048c6cd53c81e64bc5beaf9cc05549039c4188.zip FreeBSD-src-e5048c6cd53c81e64bc5beaf9cc05549039c4188.tar.gz |
Some cleanups to the callout lists recently added.
note that at_shutdown has a new parameter to indicate When
during a shutdown the callout should be made. also
add a RB_POWEROFF flag to reboot "howto" parameter..
tells the reboot code in our at_shutdown module to turn off the UPS
and kill the power. bound to be useful eventually on laptops
Diffstat (limited to 'sys/dev/vn')
-rw-r--r-- | sys/dev/vn/vn.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/vn/vn.c b/sys/dev/vn/vn.c index 1a03644..70a31ef 100644 --- a/sys/dev/vn/vn.c +++ b/sys/dev/vn/vn.c @@ -38,7 +38,7 @@ * from: Utah Hdr: vn.c 1.13 94/04/02 * * from: @(#)vn.c 8.6 (Berkeley) 4/1/94 - * $Id: vn.c,v 1.38 1996/08/19 20:06:41 julian Exp $ + * $Id: vn.c,v 1.39 1996/08/19 21:06:39 julian Exp $ */ /* @@ -621,7 +621,7 @@ vn_drvinit(void *unused) if( ! vn_devsw_installed ) { bdevsw_add_generic(BDEV_MAJOR,CDEV_MAJOR, &vn_bdevsw); - if(at_shutdown(&vnshutdown,NULL)) { + if(at_shutdown(&vnshutdown, NULL, SHUTDOWN_POST_SYNC)) { printf("vn: could not install shutdown hook\n"); return; } |