mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-23 23:10:24 +02:00
fix syntax error
This commit is contained in:
parent
7c060800ef
commit
2fbe009a28
@ -136,10 +136,11 @@ echo "OK ${network} startup successfull " >> ${logFile}
|
||||
# Prepare Lightning
|
||||
echo "Prepare Lightning (${lightning})" >> ${logFile}
|
||||
|
||||
if [ "${lightning}" != "lnd" ] then
|
||||
if [ "${lightning}" != "lnd" ]; then
|
||||
|
||||
###################################
|
||||
# Remove LND from systemd
|
||||
echo "Remove LND" >> ${logFile}
|
||||
sudo sed -i "s/^message=.*/message='Deactivate Lightning'/g" ${infoFile}
|
||||
sudo systemctl disable lnd
|
||||
sudo rm /etc/systemd/system/lnd.service
|
||||
@ -150,6 +151,7 @@ if [ "${lightning}" == "lnd" ]; then
|
||||
|
||||
###################################
|
||||
# LND
|
||||
echo "############## Setup LND" >> ${logFile}
|
||||
sudo sed -i "s/^message=.*/message='LND Setup'/g" ${infoFile}
|
||||
|
||||
if [ "${passwordC}" == "" ]; then
|
||||
@ -360,5 +362,4 @@ fi
|
||||
|
||||
sudo sed -i "s/^message=.*/message='Provision Setup Finish'/g" ${infoFile}
|
||||
echo "END Setup" >> ${logFile}
|
||||
exit 0
|
||||
|
||||
exit 0
|
Loading…
x
Reference in New Issue
Block a user