read prompt
This commit is contained in:
parent
63bb37330a
commit
c301758e1c
1 changed files with 1 additions and 0 deletions
|
@ -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}" \
|
||||||
|
|
Loading…
Reference in a new issue