summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorbrooks <brooks@FreeBSD.org>2004-03-23 23:22:35 +0000
committerbrooks <brooks@FreeBSD.org>2004-03-23 23:22:35 +0000
commit6ef21c4a07dac11502964fa4d78a1a8e4ebf8f57 (patch)
treed9b096b9f096d409be1781f62df49a81a0287675 /etc/defaults
parent7f1a3eaf9e2d40200c0bdf4f3e241f649e159a58 (diff)
downloadFreeBSD-src-6ef21c4a07dac11502964fa4d78a1a8e4ebf8f57.zip
FreeBSD-src-6ef21c4a07dac11502964fa4d78a1a8e4ebf8f57.tar.gz
Overhaul the /etc/rc.d/diskless script by splitting it out into
hostname, resolve, tmp, and var scripts. The latter three are new and were repo copied. These scripts no longer depend on being booted with and NFS root instead attempt to automaticly create mfs /tmp and /var volumes if the they are not writable. This behavior can be overridden in /etc/rc.conf. Reviewed by: luigi, pjd
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/rc.conf5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 884f63c..b608858 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -38,6 +38,11 @@ pccardd_flags="-z" # Additional flags for pccardd.
pccard_conf="/etc/defaults/pccard.conf" # pccardd(8) config file
pccard_ether_delay="5" # Delay before trying to start dhclient in pccard_ether
removable_interfaces="" # Removable network interfaces for /etc/pccard_ether.
+tmpmfs="AUTO" # Set to YES to always create an mfs /tmp, NO to never
+tmpsize="20m" # Size of mfs /tmp if created
+varmfs="AUTO" # Set to YES to always create an mfs /var, NO to never
+varsize="32m" # Size of mfs /var if created
+populate_var="AUTO" # Set to YES to always (re)populate /var, NO to never
local_startup="/usr/local/etc/rc.d /usr/X11R6/etc/rc.d" # startup script dirs.
script_name_sep=" " # Change if your startup scripts' names contain spaces
rc_conf_files="/etc/rc.conf /etc/rc.conf.local"
OpenPOWER on IntegriCloud