Merge pull request #642 from BastilleBSD/support_lowercase

fix logic for rc.conf + bastille.conf ZFS check
This commit is contained in:
Christer Edwards
2023-11-25 19:15:16 -07:00
committed by GitHub

View File

@@ -45,7 +45,7 @@ esac
bastille_root_check
#Validate if ZFS is enabled in rc.conf and bastille.conf.
if [ "$(sysrc -n zfs_enable)" = "YES" ] && checkyesno bastille_zfs_enable; then
if [ "$(sysrc -n zfs_enable)" = "YES" ] && ! checkyesno bastille_zfs_enable; then
warn "ZFS is enabled in rc.conf but not bastille.conf. Do you want to continue? (N|y)"
read answer
case $answer in