mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-10 21:03:09 +02:00
set also hostname on new position
This commit is contained in:
@@ -128,6 +128,7 @@ case $CHOICE in
|
|||||||
# make sure host is named like in the raspiblitz config
|
# make sure host is named like in the raspiblitz config
|
||||||
echo "Setting the Name/Alias/Hostname .."
|
echo "Setting the Name/Alias/Hostname .."
|
||||||
sudo /home/admin/config.scripts/lnd.setname.sh ${result}
|
sudo /home/admin/config.scripts/lnd.setname.sh ${result}
|
||||||
|
sudo sed -i "s/^hostname=.*/hostname=${result}/g" /mnt/hdd/raspiblitz.conf
|
||||||
|
|
||||||
echo "stopping lnd ..."
|
echo "stopping lnd ..."
|
||||||
sudo systemctl stop lnd
|
sudo systemctl stop lnd
|
||||||
|
Reference in New Issue
Block a user