This commit is contained in:
Marc Beninca 2025-03-30 12:41:48 +02:00
parent f4136fd5a9
commit bb89404513
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -24,12 +24,6 @@ rwx_crypt() {
crypt_map="${mapper}/${crypt_arg}"
crypt_mount="${mount_root}/${crypt_arg}"
case "${action}" in
"${action_close}")
rwx_log_info "CLOSE"
# TODO unmount file system
# TODO close device
# TODO disconnect device
;;
"${action_open}")
rwx_log_info "OPEN"
# TODO find next available device
@ -37,6 +31,12 @@ rwx_crypt() {
# TODO open device
# TODO mount file system
;;
"${action_close}")
rwx_log_info "CLOSE"
# TODO unmount file system
# TODO close device
# TODO disconnect device
;;
*) ;;
esac
else
@ -47,6 +47,7 @@ rwx_crypt() {
*)
rwx_log_info "Usage:"
rwx_log_info "${action_close}|${action_open}"
# TODO list
;;
esac
}