mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
autopilot by lnd.conf
This commit is contained in:
parent
03d4d20fa5
commit
a4257807d7
1 changed files with 8 additions and 0 deletions
|
@ -22,6 +22,14 @@ if [ ${#dynDomain} -gt 0 ]; then
|
|||
dynDomainMenu="${dynDomain}"
|
||||
fi
|
||||
|
||||
echo "check autopilot by lnd.conf"
|
||||
lndAutoPilotOn=$(sudo cat /mnt/hdd/lnd/lnd.conf | grep -c 'autopilot.active=1')
|
||||
if [ ${lndAutoPilotOn} -eq 1 ]; then
|
||||
autoPilot="on"
|
||||
else
|
||||
autoPilot="off"
|
||||
fi
|
||||
|
||||
# show select dialog
|
||||
echo "run dialog ..."
|
||||
CHOICES=$(dialog --checklist 'Activate/Deactivate Services:' 15 45 7 \
|
||||
|
|
Loading…
Add table
Reference in a new issue