read prompt

This commit is contained in:
Marc Beninca 2023-05-13 03:36:05 +02:00
parent 63bb37330a
commit c301758e1c

View file

@ -120,6 +120,7 @@ function ovh-rescue-wipe-1-2TB {
mkfs.ext4 -L 'boot' '/dev/sda2' mkfs.ext4 -L 'boot' '/dev/sda2'
# read passphrase # read passphrase
local passphrase local passphrase
echo -n 'PassPhrase: '
read -r -s passphrase read -r -s passphrase
# encrypt # encrypt
echo "${passphrase}" \ echo "${passphrase}" \