From cdb8819bc587e5ba8e73f74be5eaf8a3f299379d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 1 Sep 2023 15:41:55 -0400 Subject: [PATCH] Make prompts more consistent --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 4ee4003..caec342 100755 --- a/install.sh +++ b/install.sh @@ -461,14 +461,14 @@ echo "done." set +o errexit echo -echo "Edit the /etc/network/interfaces file in the target before completing setup? [y/N]" +echo -n "Edit the /etc/network/interfaces file in the target before completing setup? [y/N] " read edit_ifaces if [[ ${edit_ifaces} == 'y' || ${edit_ifaces} == 'Y' ]]; then vim ${target}/etc/network/interfaces fi echo -echo "Launch a chroot shell in the target environment? [y/N]" +echo -n "Launch a chroot shell in the target environment? [y/N] " read launch_chroot if [[ ${launch_chroot} == 'y' || ${edit_ifaces} == 'Y' ]]; then echo "Type 'exit' or Ctrl+D to exit chroot."