functions

This commit is contained in:
Marc Beninca 2024-11-11 18:06:27 +01:00
parent c4fcfbdca2
commit 9f550c4412
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
2 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
rescue_hetzner_wipe_8_8_0_init() { rescue_wipe_0_init_hetzner_8_8() {
local device local device
local devices=( local devices=(
'/dev/sda' '/dev/sda'
@ -151,7 +151,7 @@ rescue_hetzner_wipe_8_8_0_init() {
cryptsetup luksOpen '/dev/md/crypt' 'crypt' cryptsetup luksOpen '/dev/md/crypt' 'crypt'
} }
rescue_hetzner_wipe_8_8_2_make() { rescue_wipe_2_make_hetzner_8_8() {
local passphrase local passphrase
# close # close
cryptsetup luksClose 'crypt' cryptsetup luksClose 'crypt'

View file

@ -1,4 +1,4 @@
rescue_ovh_wipe_vle2_0_init() { rescue_wipe_0_init_ovh_vle2() {
local device="/dev/sdb" local device="/dev/sdb"
local passphrase local passphrase
local unit="mib" local unit="mib"
@ -80,7 +80,7 @@ rescue_ovh_wipe_vle2_0_init() {
cryptsetup luksOpen "${device}1" "crypt" cryptsetup luksOpen "${device}1" "crypt"
} }
rescue_ovh_wipe_vle2_2_make() { rescue_wipe_2_make_ovh_vle2() {
local passphrase local passphrase
# crypt / close # crypt / close
cryptsetup luksClose "crypt" cryptsetup luksClose "crypt"