From 928636ac50b8ded77e380c3e16d3d5a811bb20a6 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Tue, 19 Sep 2023 21:47:07 -0500 Subject: [PATCH] Update nodemgmt-scripts.sh --- nodemgmt-scripts.sh | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/nodemgmt-scripts.sh b/nodemgmt-scripts.sh index f17ff29a..35c951a8 100755 --- a/nodemgmt-scripts.sh +++ b/nodemgmt-scripts.sh @@ -662,6 +662,38 @@ DOWNLIST(){ if [ "${DOWN_LIST}" == "" ]; then echo -e "${idsCL[LightCyan]}Nothing is down. Hooray for you!!${idsCL[Default]}" + + echo -en "\nWanna see something great for being so awesome? (y/N) " + read -n1 great + + function nicetry { + echo -e "LOL... 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 "." + done + } + 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." + for i in {1..5000}; do + sleep 2s + echo -en "." + done + fi + else echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}" DIVIDER false yellow 95