zfs/contrib/dracut/90zfs
Witaut Bajaryn 618206c0b9 Skip loading already loaded key
Don't ask for the password / try to load the key if the key for the
encryptionroot is already loaded.  The user might have loaded the key
manually or by other means before the scripts get called.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Richard Laager <rlaager@wiktel.com>
Signed-off-by: Witaut Bajaryn <vitaut.bayaryn@gmail.com>
Closes #9495
Closes #9529
2020-01-22 13:49:03 -08:00
..
.gitignore Move dracut specifics to dracut module 2019-04-02 17:14:39 -07:00
Makefile.am Move dracut specifics to dracut module 2019-04-02 17:14:39 -07:00
export-zfs.sh.in Shellcheck cleanup for initrd scripts 2018-02-23 12:57:41 -08:00
module-setup.sh.in Move dracut specifics to dracut module 2019-04-02 17:14:39 -07:00
mount-zfs.sh.in Skip loading already loaded key 2020-01-22 13:49:03 -08:00
parse-zfs.sh.in Add `cut` binary to the initramfs 2018-12-13 15:48:46 -08:00
zfs-env-bootfs.service.in Move dracut specifics to dracut module 2019-04-02 17:14:39 -07:00
zfs-generator.sh.in Use zfs-import.target in contrib/dracut 2018-07-31 10:15:41 -07:00
zfs-lib.sh.in Replace whereis with type in zfs-lib.sh 2019-09-25 11:27:48 -07:00
zfs-load-key.sh.in Skip loading already loaded key 2020-01-22 13:49:03 -08:00
zfs-needshutdown.sh.in Run zfs load-key if needed in dracut 2018-01-18 10:20:34 -08:00