Update nodemgmt-scripts.sh
This commit is contained in:
@@ -663,9 +663,6 @@ 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 {
|
function nicetry {
|
||||||
echo -e " LOL nice try... you can't stop this shit! DESTROY DESTROY DESTROY"
|
echo -e " LOL nice try... you can't stop this shit! DESTROY DESTROY DESTROY"
|
||||||
echo -en "Continue formatting local volumes faster."
|
echo -en "Continue formatting local volumes faster."
|
||||||
@@ -673,11 +670,11 @@ DOWNLIST(){
|
|||||||
sleep 1s
|
sleep 1s
|
||||||
echo -en "."
|
echo -en "."
|
||||||
done
|
done
|
||||||
ending
|
echo -e "\n\nAwww, were you expecting some big 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
|
trap nicetry EXIT
|
||||||
|
echo -en "\nWanna see something great for being so awesome? (y/N) "
|
||||||
|
read -n1 great
|
||||||
if [ "${great^^}" == "Y" ]; then
|
if [ "${great^^}" == "Y" ]; then
|
||||||
echo -en "\n\nDiscovering local storage volumes ."
|
echo -en "\n\nDiscovering local storage volumes ."
|
||||||
sleep 1s; echo -en " ."
|
sleep 1s; echo -en " ."
|
||||||
@@ -685,10 +682,9 @@ DOWNLIST(){
|
|||||||
sleep 1s; echo -en " ."
|
sleep 1s; echo -en " ."
|
||||||
sleep 2s; echo -e " Done\n"
|
sleep 2s; echo -e " Done\n"
|
||||||
sleep 1s; echo -en "Formatting local volumes."
|
sleep 1s; echo -en "Formatting local volumes."
|
||||||
for i in {1..5}; do
|
for i in {1..5000}; do
|
||||||
sleep 2s; echo -en "."
|
sleep 2s; echo -en "."
|
||||||
done
|
done
|
||||||
ending
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user