aboutsummaryrefslogtreecommitdiffstats
path: root/etc/default/zfs.in
diff options
context:
space:
mode:
authorogelpre <[email protected]>2021-12-12 20:17:14 +0100
committerGitHub <[email protected]>2021-12-12 11:17:14 -0800
commitf04b97620059d08b37d9e80ada397e742bb2f311 (patch)
treebdd2fb6f8b67d268449e301a095ad4b9b7ba7bcc /etc/default/zfs.in
parent4a5b6ced41996016e26fe03dff084ded69a69393 (diff)
Add init script to load keys
Add new init scripts which allow automatic loading of keys if keylocation property is set to a URI. Reviewed-by: Ahelenia ZiemiaƄska <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: Benedikt Neuffer <[email protected]> Closes #11659 Closes #11662
Diffstat (limited to 'etc/default/zfs.in')
-rw-r--r--etc/default/zfs.in8
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/default/zfs.in b/etc/default/zfs.in
index 93d98058e..fb4a1b65e 100644
--- a/etc/default/zfs.in
+++ b/etc/default/zfs.in
@@ -1,4 +1,4 @@
-# ZoL userland configuration.
+# OpenZFS userland configuration.
# NOTE: This file is intended for sysv init and initramfs.
# Changing some of these settings may not make any difference on
@@ -10,6 +10,12 @@
# Anything else will be interpreted as unset.
# shellcheck disable=SC2034
+# Run `zfs load-key` during system start?
+ZFS_LOAD_KEY='yes'
+
+# Run `zfs unload-key` during system stop?
+ZFS_UNLOAD_KEY='no'
+
# Run `zfs mount -a` during system start?
ZFS_MOUNT='yes'