From 11367238ecd0079e3e6760421c356b03d484b0d9 Mon Sep 17 00:00:00 2001 From: adriel-tech Date: Sun, 29 Oct 2023 15:16:39 -0700 Subject: [PATCH] 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. --- usr/local/share/bastille/setup.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/share/bastille/setup.sh b/usr/local/share/bastille/setup.sh index 13faef31..c78dda87 100644 --- a/usr/local/share/bastille/setup.sh +++ b/usr/local/share/bastille/setup.sh @@ -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`