How does this look?
--- src/etc/rc.orig Mon Jan 25 17:39:07 1999
+++ src/etc/rc Mon Jan 25 17:43:52 1999
@@ -152,6 +152,16 @@
clean_var
fi
+# Load the vn module, if enabled.
+if [ "X$vn_enable" = "XYES" ]; then
+ echo "Loading vn module."
+ if [ -f /modules/vn.ko ]; then
+ kldload vn
+ else
+ echo "Cannot find /modules/vn.ko."
+ fi
+fi
+
# Add additional swapfile, if configured.
if [ "x$swapfile" != "xNO" -a -w "$swapfile" -a -b /dev/vn0b ]; then
echo "Adding $swapfile as additional swap."
--- src/etc/rc.conf.orig Mon Jan 25 17:36:03 1999
+++ src/etc/rc.conf Mon Jan 25 17:44:14 1999
@@ -12,7 +12,9 @@
### Important initial Boot-time options #####################
##############################################################
+vn_enable="NO" # Set to YES if you want the vn kld loaded.
swapfile="NO" # Set to name of swapfile if aux swapfile desired.
+ # This needs pseudo-device vn or vn_enable="YES".
apm_enable="NO" # Set to YES if you want APM enabled.
pccard_enable="NO" # Set to YES if you want to configure PCCARD devices.
pccard_mem="DEFAULT" # If pccard_enable=YES, this is card memory address.
Brian Feldman _ __ ___ ___ ___
[email protected] _ __ ___ | _ ) __| \
http://www.freebsd.org/ _ __ ___ ____ | _ \__ \ |) |
FreeBSD: The Power to Serve! _ __ ___ ____ _____ |___/___/___/
To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-current" in the body of the message