diff --git a/bash/ovh-rescue.sh b/bash/ovh-rescue.sh index bcd66c4..4487403 100644 --- a/bash/ovh-rescue.sh +++ b/bash/ovh-rescue.sh @@ -1,4 +1,6 @@ -function ovh-rescue-configure { +#! /usr/bin/env bash + +ovh_rescue_configure() { local host="${1}" local packages=( 'byobu' 'mosh' @@ -119,8 +121,8 @@ function ovh-rescue-wipe-1-2TB { local unit='mib' # lsblk - echo -n 'WIPE' "${device}" '/?\ OR CANCEL /!\' - read + echo -n 'WIPE' "${device}" "/?\\ OR CANCEL /!\\" + read -r # parted "${device}" --script mktable gpt #