mirror of
https://github.com/JRGTH/xigmanas-bastille-extension.git
synced 2025-12-10 17:00:18 +01:00
Check if bastille_zfs_enable is actually set to NO
Check if bastille_zfs_enable is actually set to NO before zfs disable
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
======================
|
||||
Version Description
|
||||
|
||||
1.2.17......Check if bastille_zfs_enable is actually set to NO before zfs disable.
|
||||
1.2.16......Disable zfs activation warnings if bastille_zfs_enable is set to NO.
|
||||
1.2.15......Minor code changes/improvements.
|
||||
1.2.14......Make sure bastille-prefix ends with bastille.
|
||||
|
||||
4
bastille-init
Normal file → Executable file
4
bastille-init
Normal file → Executable file
@@ -1392,7 +1392,9 @@ rc_params()
|
||||
if zfs list -H "${CWDIR}" | awk '{print $1}' | grep -qw "${DAFAULT_BASTILLE_PREFIX}"; then
|
||||
zfs_support_error
|
||||
else
|
||||
zfs_support_disabled
|
||||
if [ "${bastille_zfs_enable}" = "NO" ] || [ "${bastille_zfs_enable}" = "no" ]; then
|
||||
zfs_support_disabled
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user