remove linebreak before password input

that makes it more consistent with other programs like su, sudo, passwd...
master
lub 6 years ago
parent e63205d4fd
commit bcfafb586b

@ -9,7 +9,7 @@ apt-get -y install mdadm btrfs-tools
"./hardware/${1}/parted.sh" "$2" "./hardware/${1}/parted.sh" "$2"
# encrypt and unlock root device # encrypt and unlock root device
echo 'Enter luks password: ' echo -n 'Enter luks password: '
read -s md0pwd read -s md0pwd
echo -n $md0pwd | cryptsetup -q luksFormat /dev/md0 echo -n $md0pwd | cryptsetup -q luksFormat /dev/md0
echo -n $md0pwd | cryptsetup open --type luks /dev/md0 md0-unlocked echo -n $md0pwd | cryptsetup open --type luks /dev/md0 md0-unlocked

Loading…
Cancel
Save