mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-20 08:44:33 +00:00
Only start vinum if vinum_slices variable is non-empty
Reported-by: roberto
This commit is contained in:
parent
fb1594c101
commit
7e7f24a712
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42785
4
etc/rc
4
etc/rc
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue