Update nodemgmt-scripts.sh
This commit is contained in:
@@ -662,6 +662,38 @@ DOWNLIST(){
|
|||||||
|
|
||||||
if [ "${DOWN_LIST}" == "" ]; then
|
if [ "${DOWN_LIST}" == "" ]; then
|
||||||
echo -e "${idsCL[LightCyan]}Nothing is down. Hooray for you!!${idsCL[Default]}"
|
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
|
else
|
||||||
echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}"
|
echo -e "${idsCL[LightGreen]}Current List of Items Down...${idsCL[Default]}"
|
||||||
DIVIDER false yellow 95
|
DIVIDER false yellow 95
|
||||||
|
|||||||
Reference in New Issue
Block a user