mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-29 19:22:10 +01:00
change name/alias info
This commit is contained in:
parent
fc18d774f1
commit
e9b3ba85d7
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
|
||||
|
||||
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
|
||||
cp $logFile /home/admin/raspiblitz.setup.log
|
||||
|
||||
# set the hostname inputed on initDialog
|
||||
if [ ${#hostname} -gt 0 ]; then
|
||||
echo "Setting new network hostname '$hostname'"
|
||||
sudo raspi-config nonint do_hostname ${hostname}
|
||||
else
|
||||
echo "WARN: hostname not set"
|
||||
fi
|
||||
# set the name of the node
|
||||
echo "Setting the Name/Alias/Hostname .."
|
||||
sudo /home/admin/config.scripts/lnd.setname.sh ${hostname}
|
||||
|
||||
# mark setup is done (100%)
|
||||
sudo sed -i "s/^setupStep=.*/setupStep=100/g" /home/admin/raspiblitz.info
|
||||
|
Loading…
x
Reference in New Issue
Block a user