mirror of
https://git.sr.ht/~nabijaczleweli/tzpfms
synced 2025-04-11 09:30:02 +03:00
] ;
This commit is contained in:
parent
6a143b6e8b
commit
a4294c83c5
@ -30,7 +30,7 @@ while [ "$(zpool list -H)" = "" ]; do
|
||||
done
|
||||
|
||||
|
||||
if [ "$root" = "zfs:AUTO" ] ; then
|
||||
if [ "$root" = "zfs:AUTO" ]; then
|
||||
BOOTFS="$(zpool list -H -o bootfs | while read -r b; do [ "$b" = '-' ] || { printf '%s\n' "$b"; exit; }; done)"
|
||||
else
|
||||
BOOTFS="${root##zfs:}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user