warn_wipe

This commit is contained in:
Marc Beninca 2024-11-20 10:05:56 +01:00
parent 96f0697e37
commit 4cf5783562
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F
3 changed files with 3 additions and 3 deletions

View file

@ -9,7 +9,7 @@ rescue_wipe_0_init_hetzner_8_8() {
# read passphrase
passphrase="$(read_passphrase)"
# warn
warn_wipe "${@}"
sh_warn_wipe "${@}"
#
number=0
for device in "${@}"; do

View file

@ -4,7 +4,7 @@ rescue_wipe_0_init_ovh_vle2() {
# read passphrase
passphrase="$(read_passphrase)"
# warn
warn_wipe "${device}"
sh_warn_wipe "${device}"
#
parted --script "${device}" \
mktable gpt \

View file

@ -28,7 +28,7 @@ read_secret() {
unset secret
}
warn_wipe() {
sh_warn_wipe() {
local tmp
list_block_devices
printf "%s" "WIPE ${*} /?\\ OR CANCEL /!\\"