Fix (/usr could not be mounted yet, so there is no grep(1) available) and
simplify checking for g_eli module. MFC after: 3 days
This commit is contained in:
parent
a73148d28d
commit
adf98e7afa
@ -47,7 +47,7 @@ geli_start()
|
||||
fi
|
||||
|
||||
geli load >/dev/null 2>&1
|
||||
if ! kldstat -v | grep -q g_eli\$; then
|
||||
if ! kldstat -m g_eli >/dev/null 2>&1; then
|
||||
err 1 'geom_eli module failed to load.'
|
||||
fi
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user