mirror_zfs/contrib/dracut/90zfs
Witaut Bajaryn 6c7023a532 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
2019-11-08 14:34:07 -08:00
..
.gitignore 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
Makefile.am Restore :: in Makefile.am 2019-08-26 11:48:31 -07: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 2019-11-08 14:34:07 -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-06-20 12:27:14 -07:00
zfs-load-key.sh.in Skip loading already loaded key 2019-11-08 14:34:07 -08:00
zfs-needshutdown.sh.in Run zfs load-key if needed in dracut 2018-01-18 10:20:34 -08:00