From 9f550c4412c3012b1c3b4039a44cbaff2c3a6222 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 11 Nov 2024 18:06:27 +0100 Subject: [PATCH] functions --- bash/rescue-hetzner.sh | 4 ++-- bash/rescue-ovh.sh | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bash/rescue-hetzner.sh b/bash/rescue-hetzner.sh index 5a076fc..bbbf94a 100644 --- a/bash/rescue-hetzner.sh +++ b/bash/rescue-hetzner.sh @@ -1,4 +1,4 @@ -rescue_hetzner_wipe_8_8_0_init() { +rescue_wipe_0_init_hetzner_8_8() { local device local devices=( '/dev/sda' @@ -151,7 +151,7 @@ rescue_hetzner_wipe_8_8_0_init() { cryptsetup luksOpen '/dev/md/crypt' 'crypt' } -rescue_hetzner_wipe_8_8_2_make() { +rescue_wipe_2_make_hetzner_8_8() { local passphrase # close cryptsetup luksClose 'crypt' diff --git a/bash/rescue-ovh.sh b/bash/rescue-ovh.sh index 1b7af69..1ef38a2 100644 --- a/bash/rescue-ovh.sh +++ b/bash/rescue-ovh.sh @@ -1,4 +1,4 @@ -rescue_ovh_wipe_vle2_0_init() { +rescue_wipe_0_init_ovh_vle2() { local device="/dev/sdb" local passphrase local unit="mib" @@ -80,7 +80,7 @@ rescue_ovh_wipe_vle2_0_init() { cryptsetup luksOpen "${device}1" "crypt" } -rescue_ovh_wipe_vle2_2_make() { +rescue_wipe_2_make_ovh_vle2() { local passphrase # crypt / close cryptsetup luksClose "crypt"