From 1e7868a058ae6739b34cf6e0d009af192e8f180c Mon Sep 17 00:00:00 2001 From: grog Date: Fri, 2 Apr 1999 07:15:44 +0000 Subject: 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. --- etc/defaults/rc.conf | 4 +++- etc/rc | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'etc') 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 -- cgit v1.1