mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
#707 add ups config to recover/update script
This commit is contained in:
parent
92ddaced16
commit
448de4193f
1 changed files with 9 additions and 0 deletions
|
@ -242,6 +242,15 @@ else
|
||||||
echo "Provisioning Touchscreen - not active" >> ${logFile}
|
echo "Provisioning Touchscreen - not active" >> ${logFile}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# UPS
|
||||||
|
if [ "${#ups}" -gt 0 ]; then
|
||||||
|
echo "Provisioning UPS - run config script" >> ${logFile}
|
||||||
|
sudo sed -i "s/^message=.*/message='Setup UPS'/g" ${infoFile}
|
||||||
|
sudo /home/admin/config.scripts/blitz.ups.sh on ${ups} >> ${logFile} 2>&1
|
||||||
|
else
|
||||||
|
echo "Provisioning UPS - not active" >> ${logFile}
|
||||||
|
fi
|
||||||
|
|
||||||
# replay backup LND conf & tlscerts
|
# replay backup LND conf & tlscerts
|
||||||
# https://github.com/rootzoll/raspiblitz/issues/324
|
# https://github.com/rootzoll/raspiblitz/issues/324
|
||||||
echo "" >> ${logFile}
|
echo "" >> ${logFile}
|
||||||
|
|
Loading…
Add table
Reference in a new issue