mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-26 11:37:19 +02:00
MKDEFAULT: restart Specter for the new network
This commit is contained in:
@@ -184,6 +184,10 @@ case $CHOICE in
|
|||||||
sudo sed -i "s/^chain=.*/chain=${newchain}/g" /mnt/hdd/raspiblitz.conf
|
sudo sed -i "s/^chain=.*/chain=${newchain}/g" /mnt/hdd/raspiblitz.conf
|
||||||
echo "# OK - Set chain=${newchain} in /mnt/hdd/raspiblitz.conf"
|
echo "# OK - Set chain=${newchain} in /mnt/hdd/raspiblitz.conf"
|
||||||
sudo /home/admin/config.scripts/lnd.credentials.sh sync
|
sudo /home/admin/config.scripts/lnd.credentials.sh sync
|
||||||
|
if grep -Eq "^specter=on" /mnt/hdd/raspiblitz.conf; then
|
||||||
|
echo "# Restart Specter on $CHAIN"
|
||||||
|
sudo systemctl restart cryptoadvance-specter.service
|
||||||
|
fi
|
||||||
echo
|
echo
|
||||||
echo "Press ENTER to return to main menu."
|
echo "Press ENTER to return to main menu."
|
||||||
read key
|
read key
|
||||||
|
Reference in New Issue
Block a user