Disk : Unlock adds a link to mount.

This commit is contained in:
Dmitry Voronin 2024-04-16 14:53:25 +03:00
parent f20e5348ca
commit 44fc037d6c
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -24,6 +24,7 @@
local unlock=$(udisksctl unlock -b "''${loop}" | _filter)
local mount=$(udisksctl mount -b "''${unlock}" | _filter)
[ -L "./''${name}" ] || ln -s "''${mount}" "./''${name}"
cd "''${mount}"
}
'';