From ecb553c9e310685d1ea5826b6712369232645bce Mon Sep 17 00:00:00 2001 From: rootzoll Date: Wed, 2 Sep 2020 21:00:10 +0200 Subject: [PATCH] set to right commit --- home.admin/config.scripts/blitz.lcd.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/home.admin/config.scripts/blitz.lcd.sh b/home.admin/config.scripts/blitz.lcd.sh index 085e2052d..079ae69ba 100644 --- a/home.admin/config.scripts/blitz.lcd.sh +++ b/home.admin/config.scripts/blitz.lcd.sh @@ -51,8 +51,8 @@ if [ "${command}" == "check-repair" ]; then sudo -u admin git clone https://github.com/MrYacha/LCD-show.git sudo -u admin chmod -R 755 LCD-show sudo -u admin chown -R admin:admin LCD-show - cd LCD-show/ - sudo -u admin git reset --hard 53dd0bf + cd /home/admin/LCD-show + sudo -u admin git reset --hard b012c487669afd3e997fc63fcc097d45a5a6a34e echo "# --> correcting rotate setting" if [ "${lcdrotate}" == "on" ]; then @@ -61,6 +61,7 @@ if [ "${command}" == "check-repair" ]; then sudo sed -i "s/^dtoverlay=.*/dtoverlay=waveshare35a:rotate=270/g" /boot/config.txt fi echo "# --> restart to acrivate new driver" + chmod +x ./LCD35-show ./LCD35-show sudo shutdown -r now else