From b788e9940bbd65d5c7d98bb065540ffaf2d2a68f Mon Sep 17 00:00:00 2001 From: Matt C Date: Tue, 11 May 2021 00:05:53 -0400 Subject: [PATCH] loop in shell until confirmed ready --- crystinstall.sh | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/crystinstall.sh b/crystinstall.sh index 480d8d0..9e23445 100755 --- a/crystinstall.sh +++ b/crystinstall.sh @@ -124,9 +124,19 @@ else printf ": " read DISK fi - echo "Press enter to go to a shell." - read - bash + + CONFDONE="NOPE" + + while [[ "$CONFDONE" == "NOPE" ]]; do + echo "Press enter to go to a shell." + read + bash + printf "All set (and partitions mounted?) (y/N): " + read STAT + if [[ "$STAT" == "y" ]]; then + CONFDONE="YEP" + fi + done fi echo "Setting up base CrystalUX System"