Terminate amd(8) gracefully during system shutdown.

This should avoid occasional problems with syncing or unmounting
filesystems on machines which use the automounter. Tested
successfully under NetBSD-i386 3.1_STABLE and 4.0_BETA2.
This commit is contained in:
tron 2007-04-23 14:27:30 +00:00
parent 262a61f00a
commit e848cdf438

View File

@ -1,11 +1,12 @@
#!/bin/sh
#
# $NetBSD: amd,v 1.13 2004/10/12 14:51:03 lukem Exp $
# $NetBSD: amd,v 1.14 2007/04/23 14:27:30 tron Exp $
#
# PROVIDE: amd
# REQUIRE: rpcbind mountall ypbind
# BEFORE: DAEMON
# KEYWORD: shutdown
$_rc_subr_loaded . /etc/rc.subr