From 5a76c09cb127aec1d15dcbed5b411ff99ce99772 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 28 Dec 2023 17:18:17 +0100 Subject: [PATCH] functions --- bash/hetzner-rescue.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bash/hetzner-rescue.sh b/bash/hetzner-rescue.sh index 3c5b287..2f24ca5 100644 --- a/bash/hetzner-rescue.sh +++ b/bash/hetzner-rescue.sh @@ -130,7 +130,7 @@ else fi } -function hetzner-rescue-wipe-8-8-0 { +function hetzner-rescue-wipe-8-8-0-init { local device local devices=( '/dev/sda' @@ -259,13 +259,13 @@ function hetzner-rescue-wipe-8-8-0 { | cryptsetup luksOpen '/dev/md/crypt' 'crypt' } -function hetzner-rescue-wipe-8-8-1 { +function hetzner-rescue-wipe-8-8-1-zero { # wipe crypt dd status='progress' \ if='/dev/zero' of='/dev/mapper/crypt' bs='8G' } -function hetzner-rescue-wipe-8-8-2 { +function hetzner-rescue-wipe-8-8-2-make { local passphrase # close cryptsetup luksClose 'crypt'