summaryrefslogtreecommitdiffstats
path: root/etc/rc
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/rc
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/rc')
-rw-r--r--etc/rc6
1 files changed, 4 insertions, 2 deletions
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