summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>1999-04-02 07:15:44 +0000
committergrog <grog@FreeBSD.org>1999-04-02 07:15:44 +0000
commit1e7868a058ae6739b34cf6e0d009af192e8f180c (patch)
treea7eea1250156faefa69454b972b8059b86903a96 /etc
parentd76ed5205afdcfb215c1a49a493fee62d257180c (diff)
downloadFreeBSD-src-1e7868a058ae6739b34cf6e0d009af192e8f180c.zip
FreeBSD-src-1e7868a058ae6739b34cf6e0d009af192e8f180c.tar.gz
Add variable start_vinum. If set to YES, it will start vinum and
automagically find all the partitions. This is to be preferred to the somewhat emetic usage of vinum_slices and the equally obnoxious 'vinum read' command.
Diffstat (limited to 'etc')
-rw-r--r--etc/defaults/rc.conf4
-rw-r--r--etc/rc6
2 files changed, 7 insertions, 3 deletions
diff --git a/etc/defaults/rc.conf b/etc/defaults/rc.conf
index 3fa606d..32c33b7 100644
--- a/etc/defaults/rc.conf
+++ b/etc/defaults/rc.conf
@@ -9,7 +9,7 @@
#
# All arguments must be in double or single quotes.
#
-# $Id: rc.conf,v 1.5 1999/03/24 10:27:46 brian Exp $
+# $Id: rc.conf,v 1.6 1999/03/28 20:36:03 imp Exp $
##############################################################
### Important initial Boot-time options #####################
@@ -203,7 +203,9 @@ ldconfig_paths_aout="/usr/lib/compat/aout /usr/X11R6/lib/aout /usr/local/lib/aou
kern_securelevel_enable="NO" # kernel security level (see init(8)),
kern_securelevel="-1" # range: -1..3 ; `-1' is the most insecure
update_motd="YES" # update version info in /etc/motd (or NO)
+start_vinum="" # set to YES to start vinum
vinum_drives="" # put in names of disks containing vinum drives
+ # to start vinum on only specific disks.
##############################################################
### Allow local configuration override at the very end here ##
diff --git a/etc/rc b/etc/rc
index e494abe..b0f1589 100644
--- a/etc/rc
+++ b/etc/rc
@@ -1,5 +1,5 @@
#!/bin/sh
-# $Id: rc,v 1.184 1999/03/28 20:36:03 imp Exp $
+# $Id: rc,v 1.185 1999/04/01 13:30:29 cracauer Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@@ -45,7 +45,9 @@ if [ -f /etc/ccd.conf ]; then
ccdconfig -C
fi
-if [ -n "$vinum_drives" ]; then
+if [ X$start_vinum = XYES ]; then
+ vinum start
+elif [ -n "$vinum_drives" ]; then
vinum read $vinum_drives
fi
OpenPOWER on IntegriCloud