mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-25 11:13:12 +02:00
added sudo to stop lnd
This commit is contained in:
@@ -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
|
||||||
|
Reference in New Issue
Block a user