enable RTL after recover dialog

This commit is contained in:
rootzoll 2018-12-12 18:29:49 +01:00
parent c4f9eb8326
commit 77c11fb4cc
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,9 @@ Write them down & store them in a safe place.
sudo systemctl daemon-reload
sudo systemctl enable lnd.service
sudo systemctl enable ${network}d.service
if [ "${rtlWebinterface}" = "on" ]; then
sudo systemctl enable RTL
fi
# remove flag that freshly recovered
sudo rm /home/admin/raspiblitz.recover.info

View File

@ -122,6 +122,7 @@ if [ "${rtlWebinterface}" = "on" ]; then
echo "Provisioning RTL - run config script" >> ${logFile}
sudo sed -i "s/^message=.*/message='Setup RTL (takes time)'/g" ${infoFile}
sudo /home/admin/config.scripts/bonus.rtl.sh on >> ${logFile} 2>&1
sudo systemctl disable RTL # will get enabled after recover dialog
else
echo "Provisioning RTL - keep default" >> ${logFile}
fi