|
@ -89,6 +89,7 @@ elif [ ${mode} = "restore" ]; then |
|
|
fi |
|
|
fi |
|
|
if [ ${countZips} -eq 1 ]; then |
|
|
if [ ${countZips} -eq 1 ]; then |
|
|
|
|
|
|
|
|
|
|
|
clear |
|
|
filename=$(sudo ls /home/admin/lnd-rescue-*.tar.gz) |
|
|
filename=$(sudo ls /home/admin/lnd-rescue-*.tar.gz) |
|
|
echo "OK -> found file to restore: ${filename}" |
|
|
echo "OK -> found file to restore: ${filename}" |
|
|
|
|
|
|
|
@ -112,7 +113,7 @@ elif [ ${mode} = "restore" ]; then |
|
|
|
|
|
|
|
|
# stop LND |
|
|
# stop LND |
|
|
echo "Stopping lnd..." |
|
|
echo "Stopping lnd..." |
|
|
systemctl stop lnd |
|
|
sudo systemctl stop lnd |
|
|
sleep 5 |
|
|
sleep 5 |
|
|
echo "OK" |
|
|
echo "OK" |
|
|
echo |
|
|
echo |
|
|