mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
fix syntax bugs
This commit is contained in:
@@ -59,13 +59,13 @@ fi
|
|||||||
|
|
||||||
# make sure entry line for 'dynDomain' exists
|
# make sure entry line for 'dynDomain' exists
|
||||||
entryExists=$(cat ${configFile} | grep -c 'dynDomain=')
|
entryExists=$(cat ${configFile} | grep -c 'dynDomain=')
|
||||||
if [ ${entryExist} -eq 0 ]; then
|
if [ ${entryExists} -eq 0 ]; then
|
||||||
echo "dynDomain=" >> ${configFile}
|
echo "dynDomain=" >> ${configFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# make sure entry line for 'dynDomain' exists
|
# make sure entry line for 'dynDomain' exists
|
||||||
entryExists=$(cat ${configFile} | grep -c 'updateDynDomain')
|
entryExists=$(cat ${configFile} | grep -c 'updateDynDomain')
|
||||||
if [ ${entryExist} -eq 0 ]; then
|
if [ ${entryExists} -eq 0 ]; then
|
||||||
echo "updateDynDomain=" >> ${configFile}
|
echo "updateDynDomain=" >> ${configFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -115,7 +115,7 @@ while [ ${newCertExists} -eq 0 ]
|
|||||||
do
|
do
|
||||||
count=$(($count + 1))
|
count=$(($count + 1))
|
||||||
if [ ${count} -gt 60 ]; then
|
if [ ${count} -gt 60 ]; then
|
||||||
echo "FAIL - was not able to generate new LND certs""
|
echo "FAIL - was not able to generate new LND certs"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
newCertExists=$(sudo ls /mnt/hdd/lnd/tls.cert | grep -c '.cert')
|
newCertExists=$(sudo ls /mnt/hdd/lnd/tls.cert | grep -c '.cert')
|
||||||
|
Reference in New Issue
Block a user