Update nodemgmt-scripts.sh
This commit is contained in:
@@ -667,31 +667,29 @@ DOWNLIST(){
|
|||||||
read -n1 great
|
read -n1 great
|
||||||
|
|
||||||
function nicetry {
|
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."
|
echo -en "Continue formatting local volumes faster."
|
||||||
for i in {1..5000}; do
|
for i in {1..5000}; do
|
||||||
sleep 1s
|
sleep 1s
|
||||||
echo -en "."
|
echo -en "."
|
||||||
done
|
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
|
trap nicetry EXIT
|
||||||
|
|
||||||
if [ "${great^^}" == "Y" ]; then
|
if [ "${great^^}" == "Y" ]; then
|
||||||
echo -en "\n\nDiscovering local storage volumes ."
|
echo -en "\n\nDiscovering local storage volumes ."
|
||||||
sleep 1s
|
sleep 1s; echo -en " ."
|
||||||
echo -en " ."
|
sleep 2s; echo -en " ."
|
||||||
sleep 2s
|
sleep 1s; echo -en " ."
|
||||||
echo -en " ."
|
sleep 2s; echo -e " Done\n"
|
||||||
sleep 1s
|
sleep 1s; echo -en "Formatting local volumes."
|
||||||
echo -en " ."
|
|
||||||
sleep 2s
|
|
||||||
echo -e " Done\n\n"
|
|
||||||
sleep 1s
|
|
||||||
echo -en "Formatting local volumes."
|
|
||||||
for i in {1..5000}; do
|
for i in {1..5000}; do
|
||||||
sleep 2s
|
sleep 2s; echo -en "."
|
||||||
echo -en "."
|
|
||||||
done
|
done
|
||||||
|
ending
|
||||||
fi
|
fi
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user