Update setup.sh

Removed -q from kldstat in function configure_zfs().
on FreeBSD 14 (maybe earlier) this causes kldstat to return in such
a way that BastilleBSD assumes zfs is not loaded.
This commit is contained in:
adriel-tech
2023-10-29 15:16:39 -07:00
committed by GitHub
parent 78c77b7e26
commit 11367238ec

View File

@@ -93,7 +93,7 @@ fi
# Configure ZFS
configure_zfs() {
if [ ! "$(kldstat -q -m zfs)" ]; then
if [ ! "$(kldstat -m zfs)" ]; then
info "ZFS module not loaded; skipping..."
else
## attempt to determine bastille_zroot from `zpool list`