mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 09:57:17 +01:00
change name/alias info
This commit is contained in:
2
FAQ.md
2
FAQ.md
@@ -46,4 +46,4 @@ But you can try to backup at your own risk. All your Lightning Node data is with
|
|||||||
|
|
||||||
## How do I change the Name/Alias of my lightning node
|
## How do I change the Name/Alias of my lightning node
|
||||||
|
|
||||||
Exit to terminal (X in manin menu). Then enter `sudo nano /mnt/hdd/lnd/lnd.conf` and change the value of the `alias` parameter. Save the your changes with: `CTRL+O` Then exit the editor with: `CTRL+X` And restart your RaspiBlitz with: `sudo shutdown -r now`
|
Use the "Change Name/Alias of Node" option in main menu. The RaspiBlitz will make a reboot after this.
|
||||||
@@ -35,13 +35,9 @@ echo "chain=${chain}" >> $configFile
|
|||||||
# copy logfile to analyse setup
|
# copy logfile to analyse setup
|
||||||
cp $logFile /home/admin/raspiblitz.setup.log
|
cp $logFile /home/admin/raspiblitz.setup.log
|
||||||
|
|
||||||
# set the hostname inputed on initDialog
|
# set the name of the node
|
||||||
if [ ${#hostname} -gt 0 ]; then
|
echo "Setting the Name/Alias/Hostname .."
|
||||||
echo "Setting new network hostname '$hostname'"
|
sudo /home/admin/config.scripts/lnd.setname.sh ${hostname}
|
||||||
sudo raspi-config nonint do_hostname ${hostname}
|
|
||||||
else
|
|
||||||
echo "WARN: hostname not set"
|
|
||||||
fi
|
|
||||||
|
|
||||||
# mark setup is done (100%)
|
# mark setup is done (100%)
|
||||||
sudo sed -i "s/^setupStep=.*/setupStep=100/g" /home/admin/raspiblitz.info
|
sudo sed -i "s/^setupStep=.*/setupStep=100/g" /home/admin/raspiblitz.info
|
||||||
|
|||||||
Reference in New Issue
Block a user