diff --git a/sh/cryptsetup.sh b/sh/cryptsetup.sh index fd20a64..28e4de3 100644 --- a/sh/cryptsetup.sh +++ b/sh/cryptsetup.sh @@ -1,8 +1,18 @@ -_rwx_cmd_cs() { rwx_crypt "${@}"; } +# ╭───────╮ +# │ crypt │ +# ╰───────╯ + +# ╭───────┬───────────╮ +# │ crypt │ constants │ +# ╰───────┴───────────╯ RWX_CRYPT_ROOT="/data/home/user/crypt" RWX_CRYPT_VAR="/var/lib/crypt" +# ╭───────┬───────────╮ +# │ crypt │ functions │ +# ╰───────┴───────────╯ + rwx_crypt_device() { local device size local index=0 @@ -25,7 +35,8 @@ rwx_crypt_device() { fi } -rwx_crypt() { +#/ cs +rwx_crypt_setup() { local action="${1}" local action_close="close" local action_open="open"