From a55e1115b7c5ad608ca04f980f05095b7288eba1 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Mon, 29 Jul 2019 00:42:19 +0200 Subject: [PATCH] #681 rotate LCD again on update --- home.admin/_bootstrap.provision.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/home.admin/_bootstrap.provision.sh b/home.admin/_bootstrap.provision.sh index 86d1077..3b172c0 100644 --- a/home.admin/_bootstrap.provision.sh +++ b/home.admin/_bootstrap.provision.sh @@ -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}