mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-23 18:02:13 +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
|
||||
echo "# OK - Set chain=${newchain} in /mnt/hdd/raspiblitz.conf"
|
||||
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 "Press ENTER to return to main menu."
|
||||
read key
|
||||
|
Reference in New Issue
Block a user