crypt/setup
This commit is contained in:
parent
f9f93101ad
commit
fd3528c3ec
1 changed files with 13 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue