#2650 place rename later in code

This commit is contained in:
rootzoll 2022-02-18 12:47:20 +01:00
parent 4f5b53273f
commit 832bd79596

View File

@ -367,12 +367,6 @@ case $CHOICE in
sleep 3
done
#TODO the new hostname is not taken into account on init (user can change set the lnd name in menu later)
# make sure host is named like in the raspiblitz config
# echo "Setting the Name/Alias/Hostname .."
sudo /home/admin/config.scripts/lnd.setname.sh ${chain}net "${result}"
# /home/admin/config.scripts/blitz.conf.sh set hostname "${result}"
removeLNDwallet
# create wallet
@ -380,6 +374,12 @@ case $CHOICE in
# display and delete the seed for ${chain}net
sudo /home/admin/config.scripts/lnd.install.sh display-seed ${chain}net delete
#TODO the new hostname is not taken into account on init (user can change set the lnd name in menu later)
# make sure host is named like in the raspiblitz config
# echo "Setting the Name/Alias/Hostname .."
sudo /home/admin/config.scripts/lnd.setname.sh ${chain}net "${result}"
# /home/admin/config.scripts/blitz.conf.sh set hostname "${result}"
syncAndCheckLND
echo "Press ENTER to return to main menu."