Skip to content

Commit

Permalink
Improve install workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
coincashew committed Oct 8, 2024
1 parent ce8d2f6 commit 334b7e0
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions ethpillar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
# 🙌 Ask questions on Discord:
# * https://discord.gg/dEpAVWgFNB

EP_VERSION="2.1.0"
EP_VERSION="2.1.1"

# VARIABLES
export BASE_DIR="$HOME/git/ethpillar" && cd $BASE_DIR
Expand Down Expand Up @@ -1012,12 +1012,10 @@ function checkV1StakingSetup(){
fi
}

# If no consensus client service is installed, ask to install
function askInstallNode(){
# If no consensus or validator client service is installed, start install workflow
function installNode(){
if [[ ! -f /etc/systemd/system/consensus.service && ! -f /etc/systemd/system/validator.service ]]; then
if whiptail --title "Install Node" --yesno "Would you like to install an Ethereum node (Nimbus CL & Nethermind EL)?" 8 78; then
runScript install-nimbus-nethermind.sh true
fi
fi
}

Expand Down Expand Up @@ -1053,7 +1051,7 @@ function setNodeMode(){

checkV1StakingSetup
setWhiptailColors
askInstallNode
installNode
applyPatches
setNodeMode
menuMain

0 comments on commit 334b7e0

Please sign in to comment.