From f980f7a83ed37ef09fed0a8a9042bd602a1b4838 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 19 Sep 2023 21:54:11 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index 35c951a8..294ad85d 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -667,31 +667,29 @@ DOWNLIST(){ read -n1 great function nicetry { - echo -e "LOL... you can't stop this shit! DESTROY DESTROY DESTROY" + ending + echo -e " LOL nice try... you can't stop this shit! DESTROY DESTROY DESTROY" echo -en "Continue formatting local volumes faster." for i in {1..5000}; do - sleep 1s - echo -en "." + sleep 1s + echo -en "." done + ending } + function ending { echo -e "Awww, were you expecting some big ending :*(\nI'm actually kind of imoressed you made it this far" } trap nicetry EXIT if [ "${great^^}" == "Y" ]; then echo -en "\n\nDiscovering local storage volumes ." - sleep 1s - echo -en " ." - sleep 2s - echo -en " ." - sleep 1s - echo -en " ." - sleep 2s - echo -e " Done\n\n" - sleep 1s - echo -en "Formatting local volumes." + sleep 1s; echo -en " ." + sleep 2s; echo -en " ." + sleep 1s; echo -en " ." + sleep 2s; echo -e " Done\n" + sleep 1s; echo -en "Formatting local volumes." for i in {1..5000}; do - sleep 2s - echo -en "." + sleep 2s; echo -en "." done + ending fi else