diff options
author | grog <grog@FreeBSD.org> | 1999-04-02 07:15:44 +0000 |
---|---|---|
committer | grog <grog@FreeBSD.org> | 1999-04-02 07:15:44 +0000 |
commit | 1e7868a058ae6739b34cf6e0d009af192e8f180c (patch) | |
tree | a7eea1250156faefa69454b972b8059b86903a96 /etc/rc | |
parent | d76ed5205afdcfb215c1a49a493fee62d257180c (diff) | |
download | FreeBSD-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/rc')
-rw-r--r-- | etc/rc | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |