freebsd-dev/contrib
Richard Laager 7fcf82451c
Change zfsunlock for better busybox compatibility
It turns out that there are two versions of Busybox, at least on Ubuntu
18.04.  If you have the busybox-static package installed, you get a
busybox that supports `ps a` and `head`.  If you only have
busybox-initramfs, you don't.  Either way, you have `awk`.

This change should also make this compatible with GNU ps, if you somehow
end up with that in the initramfs environment.

Reviewed-by: Tom Caputi <tcaputi@datto.com>
Reviewed-by: Andrey Prokopenko <job@terem.fr>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
Closes #10307
2020-05-10 12:26:08 -07:00
..
bash_completion.d Add bash completions by Aneurin Price. 2014-08-06 15:03:28 -07:00
bpftrace Add tracepoints for taskq entry lifetime events 2019-11-01 13:14:54 -07:00
dracut bash scripts: use /usr/bin/env for bash shebangs 2020-02-10 13:13:46 -08:00
initramfs Change zfsunlock for better busybox compatibility 2020-05-10 12:26:08 -07:00
pyzfs Fix cstyle warnings 2020-03-17 15:42:27 -07:00
zcp Fix contrib/zcp/Makefile.am 2019-10-30 12:37:49 -07:00
Makefile.am Add FreeBSD support to OpenZFS 2020-04-14 11:36:28 -07:00