add '# KEYWORD: shutdown' so that these scripts get run at shutdown time.
now, only scripts with the keyword `shutdown' will be run by /etc/rc.shutdown, which speeds up shutdown and makes it more robust.
This commit is contained in:
parent
d046f31b64
commit
db024b3733
|
@ -1,10 +1,11 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: cron,v 1.3 2000/05/13 08:45:06 lukem Exp $
|
||||
# $NetBSD: cron,v 1.4 2000/07/17 15:24:48 lukem Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: cron
|
||||
# REQUIRE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: inetd,v 1.4 2000/05/13 08:45:06 lukem Exp $
|
||||
# $NetBSD: inetd,v 1.5 2000/07/17 15:24:48 lukem Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: inetd
|
||||
# REQUIRE: DAEMON LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: xdm,v 1.4 2000/05/13 08:45:10 lukem Exp $
|
||||
# $NetBSD: xdm,v 1.5 2000/07/17 15:24:48 lukem Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: xdm
|
||||
# REQUIRE: DAEMON LOGIN wscons
|
||||
# KEYWORD: shutdown
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
|
|
Loading…
Reference in New Issue