zfs/contrib/dracut/90zfs
наб 2d9f82d891 dracut/zfs-load-key.sh: simplify import loop, quote variable assignments
The loop now has a less confusing condition and properly uses
systemctl(1) is-failed's return code instead of that entire mess

The assignments could turn into "var=val program" if encryptionroot
or keylocation had whitespace in them

As a bonus, this (mostly) silences shellcheck

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11198
2020-11-19 16:20:42 -08:00
..
.gitignore Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00
Makefile.am Centralize variable substitution 2020-07-14 17:33:44 -07:00
export-zfs.sh.in Silence 'make checkbashisms' 2020-08-20 13:45:47 -07:00
module-setup.sh.in config/dracut/90zfs: handle cases where hostid(1) returns all zeros 2020-11-14 17:21:54 -08:00
mount-zfs.sh.in Silence 'make checkbashisms' 2020-08-20 13:45:47 -07:00
parse-zfs.sh.in cmd/zgenhostid: replace with simple c implementation 2020-09-16 12:25:12 -07:00
zfs-env-bootfs.service.in Move dracut specifics to dracut module 2019-04-02 17:14:39 -07:00
zfs-generator.sh.in bash scripts: use /usr/bin/env for bash shebangs 2020-02-10 13:13:46 -08:00
zfs-lib.sh.in Silence 'make checkbashisms' 2020-08-20 13:45:47 -07:00
zfs-load-key.sh.in dracut/zfs-load-key.sh: simplify import loop, quote variable assignments 2020-11-19 16:20:42 -08:00
zfs-needshutdown.sh.in Silence 'make checkbashisms' 2020-08-20 13:45:47 -07:00
zfs-rollback-bootfs.service.in Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00
zfs-snapshot-bootfs.service.in Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00