From 4b4b9dc6bc2f3546e5f53cbb304be171ad121649 Mon Sep 17 00:00:00 2001 From: Helder Oliveira Date: Thu, 18 Jan 2024 17:19:13 +0000 Subject: [PATCH] =?UTF-8?q?refactor:=20=F0=9F=92=A1=20move=20shutdown=20in?= =?UTF-8?q?tro=20text?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/shutdown | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/scripts/shutdown b/scripts/shutdown index 380cab9..04c2a58 100755 --- a/scripts/shutdown +++ b/scripts/shutdown @@ -42,15 +42,6 @@ echo "★★★★★★★★★ 🐤 Twitter https://twitter.com/fleek_net" echo "★★★★★★★★★ 🎨 Ascii art by https://www.asciiart.eu" echo -echo "In order to shutdown gracefully, the process conducts a check to determine when it's more appropriate to shutdown the node." -echo "This helps ensure that node reputations are not penalized, e.g. when actively participating in the network and shutting down prematurely." -echo -echo "Thus, for nodes that are actively participating, an opt-out transaction puts the node offline and only shutdown after the epoch ends." -echo "On the other hand, a non-participating node (that is offline in the timely epoch) can be shut down immediately." -echo -echo "To summarize, this tool automates the shutdown process gracefully for the node operator, who would otherwise have to do it manually." -echo - quitProcess() { printf "\n\n🦖 The node shutdown process has terminated. Warning, the node shutdown might not have fully completed!\n\n" @@ -73,6 +64,15 @@ spin() { exec < /dev/tty; + echo "In order to shutdown gracefully, the process conducts a check to determine when it's more appropriate to shutdown the node." + echo "This helps ensure that node reputations are not penalized, e.g. when actively participating in the network and shutting down prematurely." + echo + echo "Thus, for nodes that are actively participating, an opt-out transaction puts the node offline and only shutdown after the epoch ends." + echo "On the other hand, a non-participating node (that is offline in the timely epoch) can be shut down immediately." + echo + echo "To summarize, this tool automates the shutdown process gracefully for the node operator, who would otherwise have to do it manually." + echo + read -rp "Press ENTER process continue..." echo