Allow cgd configuration to be skipped (by setting cgd=NO, defaults to YES).
Closes my PR/20766. Based on a suggestion by lukem.
This commit is contained in:
parent
520b9c1f59
commit
4c74ff3fdd
@ -1,4 +1,4 @@
|
||||
# $NetBSD: rc.conf,v 1.44 2003/03/10 18:21:00 lukem Exp $
|
||||
# $NetBSD: rc.conf,v 1.45 2003/03/19 06:06:47 wiz Exp $
|
||||
#
|
||||
# /etc/defaults/rc.conf --
|
||||
# default configuration of /etc/rc.conf
|
||||
@ -81,6 +81,10 @@ no_swap=NO # Set to YES if you have purposefully setup no swap
|
||||
# partitions and don't want to be warned about it.
|
||||
swapoff=NO # Remove block-type swap partitions upon shutdown
|
||||
|
||||
# Crypto file system.
|
||||
#
|
||||
cgd=YES
|
||||
|
||||
# One-time actions and programs on boot-up.
|
||||
#
|
||||
lkm=NO # Run /etc/rc.lkm. /usr needs to be part of /, or
|
||||
|
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
#
|
||||
# $NetBSD: cgd,v 1.1 2002/10/09 14:55:55 elric Exp $
|
||||
# $NetBSD: cgd,v 1.2 2003/03/19 06:06:48 wiz Exp $
|
||||
#
|
||||
|
||||
# PROVIDE: disks
|
||||
@ -8,6 +8,7 @@
|
||||
. /etc/rc.subr
|
||||
|
||||
name="cgd"
|
||||
rcvar=$name
|
||||
start_cmd="cgd_start"
|
||||
stop_cmd=":"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user