diff --git a/bash/rescue-hetzner.sh b/bash/rescue-hetzner.sh index 0ef1d8a..4d1100c 100644 --- a/bash/rescue-hetzner.sh +++ b/bash/rescue-hetzner.sh @@ -198,10 +198,3 @@ rescue_hetzner_wipe_8_8_2_make() { --uuid '00000000-0000-0000-0000-000000000005' \ '/media/crypt/swap' } - -rescue_hetzner_wipe_8_8_3_close() { - umount '/media/boot' - # - umount '/media/crypt' && - cryptsetup luksClose 'crypt' -} diff --git a/bash/rescue-ovh.sh b/bash/rescue-ovh.sh index 8312dab..0b26d0d 100644 --- a/bash/rescue-ovh.sh +++ b/bash/rescue-ovh.sh @@ -125,9 +125,3 @@ rescue_ovh_wipe_vle2_2_make() { --uuid "00000000-0000-0000-0000-000000000005" \ "/media/crypt/swap" } - -rescue_ovh_wipe_vle2_3_close() { - umount "/media/boot" - umount "/media/crypt" && - cryptsetup luksClose "crypt" -} diff --git a/bash/rescue.sh b/bash/rescue.sh index c40abcc..a23f6d9 100644 --- a/bash/rescue.sh +++ b/bash/rescue.sh @@ -137,3 +137,9 @@ source \"/etc/bash/main.sh\" ; rescue_configure \"${hostname}\"" return 1 fi } + +rescue_wipe_3_close() { + umount "/media/boot" + umount "/media/crypt" && + cryptsetup luksClose "crypt" +}