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.
This commit is contained in:
parent
d76ed5205a
commit
1e7868a058
@ -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 ##
|
||||
|
6
etc/rc
6
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user