Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
adriel-tech authored Oct 29, 2023
1 parent 78c77b7 commit 1136723
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/local/share/bastille/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit 1136723

Please sign in to comment.