diff options
author | Matthew Thode <[email protected]> | 2018-01-18 18:20:34 +0000 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2018-01-18 10:20:34 -0800 |
commit | 7da8f8d81bf1fadc2d9dff10f0435fe601e919fa (patch) | |
tree | c7cfb694f5a0fbf8a9645863476d1445d0ebdbb0 /contrib/dracut/90zfs/zfs-needshutdown.sh.in | |
parent | 79c3270476b7140220c7946dd0a709a31bb9ed1b (diff) |
Run zfs load-key if needed in dracut
'zfs load-key -a' will only be called if needed. If a dataset not
needed for boot does not have its key loaded (home directories for
example) boot can still continue.
zfs:AUTO was not working via dracut, so we still need the generator
script to do its thing.
Reviewed-by: Richard Yao <[email protected]>
Reviewed-by: Manuel Amador (Rudd-O) <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Reviewed-by: loli10K <[email protected]>
Signed-off-by: Matthew Thode <[email protected]>
Closes #6982
Closes #7004
Diffstat (limited to 'contrib/dracut/90zfs/zfs-needshutdown.sh.in')
-rwxr-xr-x[-rw-r--r--] | contrib/dracut/90zfs/zfs-needshutdown.sh.in | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/contrib/dracut/90zfs/zfs-needshutdown.sh.in b/contrib/dracut/90zfs/zfs-needshutdown.sh.in index e3d1b59cc..e3d1b59cc 100644..100755 --- a/contrib/dracut/90zfs/zfs-needshutdown.sh.in +++ b/contrib/dracut/90zfs/zfs-needshutdown.sh.in |