Disk : Unlock adds a link to mount.
This commit is contained in:
parent
f20e5348ca
commit
44fc037d6c
|
@ -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}"
|
||||
}
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue