#681 rotate LCD again on update

This commit is contained in:
Christian Rotzoll 2019-07-29 00:42:19 +02:00
parent c6a509af73
commit a55e1115b7

View File

@ -224,6 +224,15 @@ else
echo "Provisioning SSH Tunnel - not active" >> ${logFile}
fi
# LCD ROTATE
if [ "${#lcdrotate}" -gt 0 ]; then
echo "Provisioning LCD rotate - run config script" >> ${logFile}
sudo sed -i "s/^message=.*/message='LCD Rotate'/g" ${infoFile}
sudo /home/admin/config.scripts/blitz.lcdrotate.sh ${lcdrotate} >> ${logFile} 2>&1
else
echo "Provisioning LCD rotate - not active" >> ${logFile}
fi
# TOCHSCREEN
if [ "${#touchscreen}" -gt 0 ]; then
echo "Provisioning Touchscreen - run config script" >> ${logFile}