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