diff options
author | dougb <dougb@FreeBSD.org> | 2005-12-10 20:21:46 +0000 |
---|---|---|
committer | dougb <dougb@FreeBSD.org> | 2005-12-10 20:21:46 +0000 |
commit | 156819c49891b3da4cc03f62d8576f19c55d26ee (patch) | |
tree | 5ded1b51d381a4c99cb73693b054a0b1d6c00a3b /etc/defaults | |
parent | 18ad8e36cd3d532baad01a00fd3b5879f273cbd5 (diff) | |
download | FreeBSD-src-156819c49891b3da4cc03f62d8576f19c55d26ee.zip FreeBSD-src-156819c49891b3da4cc03f62d8576f19c55d26ee.tar.gz |
Remove rcconf.sh from /etc/rc.d, and instead load the configuration
as part of rc. Doing this, and the sourcing of rc.subr after we have
determined if we are booting diskless (and correspondingly run
rc.initdiskless if necessary) are safe, and actually allow fewer files
to be needed on the diskless box. This also allows variables from
the configuration to be available to rc itself, such as ...
Add a variable to rc.conf, early_late_divider, which designates the
script which separates the early and late stages of the boot process.
Default this to mountcritlocal, and add text to etc/defaults/rc.conf,
rc.conf(5) and diskless(8) which describes how and why one might want
to change this.
Reviewed by: brooks
Diffstat (limited to 'etc/defaults')
-rw-r--r-- | etc/defaults/rc.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf index 7f851ef..ddfa971 100644 --- a/etc/defaults/rc.conf +++ b/etc/defaults/rc.conf @@ -24,6 +24,11 @@ rc_debug="NO" # Set to YES to enable debugging output from rc.d rc_info="NO" # Enables display of informational messages at boot. rcshutdown_timeout="30" # Seconds to wait before terminating rc.shutdown +early_late_divider="mountcritlocal" # Script that separates early/late + # stages of the boot process. Make sure you know + # the ramifications if you change this. + # See rc.conf(5) for more details. + swapfile="NO" # Set to name of swapfile if aux swapfile desired. apm_enable="NO" # Set to YES to enable APM BIOS functions (or NO). apmd_enable="NO" # Run apmd to handle APM event from userland. |