diff --git a/home.admin/98repairMenu.sh b/home.admin/98repairMenu.sh index d0fd7c75..47226157 100755 --- a/home.admin/98repairMenu.sh +++ b/home.admin/98repairMenu.sh @@ -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