Only start vinum if vinum_slices variable is non-empty

Reported-by:	roberto
This commit is contained in:
Greg Lehey 1999-01-18 03:25:10 +00:00
parent fb1594c101
commit 7e7f24a712
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42785

4
etc/rc
View file

@ -1,5 +1,5 @@
#!/bin/sh
# $Id: rc,v 1.166 1999/01/11 09:07:38 asami Exp $
# $Id: rc,v 1.167 1999/01/17 03:32:07 grog Exp $
# From: @(#)rc 5.27 (Berkeley) 6/5/91
# System startup script run by init on autoboot
@ -27,7 +27,7 @@ if [ -f /etc/ccd.conf ]; then
ccdconfig -C
fi
if [ -n $vinum_slices ]; then
if [ -n "$vinum_slices" ]; then
if [ -r /modules/vinum.ko ]; then # jkh paranoia
kldload vinum
vinum read $vinum_slices