scripts: Simple guard in deploy-devnet.sh

This commit is contained in:
Łukasz Magiera 2019-10-29 13:47:19 +01:00
parent f36edc94bd
commit 774bc2f8ec

View File

@ -7,6 +7,13 @@ BOOTSTRAPPERS=( root@147.75.80.17 )
############ ############
read -p "You are about to deploy new DevNet, killing bootstrap nodes. Proceed? (y/n)?" r
case "$r" in
y|Y ) echo "Proceding";;
n|N ) exit 0;;
* ) exit 1;;
esac
log() { log() {
echo -e "\e[33m$1\e[39m" echo -e "\e[33m$1\e[39m"
} }