set also hostname on new position

This commit is contained in:
rootzoll 2020-04-18 01:24:07 +02:00
parent 74725aeb7c
commit ff4ed41e17

View File

@ -128,6 +128,7 @@ case $CHOICE in
# make sure host is named like in the raspiblitz config
echo "Setting the Name/Alias/Hostname .."
sudo /home/admin/config.scripts/lnd.setname.sh ${result}
sudo sed -i "s/^hostname=.*/hostname=${result}/g" /mnt/hdd/raspiblitz.conf
echo "stopping lnd ..."
sudo systemctl stop lnd