#4554 Deactivate Touchscreen Option in SSH Menu (#4609)

#4554 in menu deactivate touchscreen
Deactivate touchscreen provisioning script
This commit is contained in:
/rootzoll 2024-06-09 22:10:47 +02:00 committed by GitHub
parent 4388da4859
commit 0df22b0504
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 9 deletions

View file

@ -119,7 +119,7 @@ OPTIONS+=(A 'Blitz API + WebUI' ${blitzapi})
# LCD options (only when running with LCD screen) # LCD options (only when running with LCD screen)
if [ "${displayClass}" == "lcd" ]; then if [ "${displayClass}" == "lcd" ]; then
OPTIONS+=(s 'Touchscreen (experimental)' ${touchscreenMenu}) # OPTIONS+=(s 'Touchscreen (experimental)' ${touchscreenMenu})
OPTIONS+=(r 'LCD Rotate' ${lcdrotateMenu}) OPTIONS+=(r 'LCD Rotate' ${lcdrotateMenu})
fi fi

View file

@ -547,14 +547,14 @@ else
echo "Provisioning LCD rotate - not needed, keep default rotate on" >> ${logFile} echo "Provisioning LCD rotate - not needed, keep default rotate on" >> ${logFile}
fi fi
# TOUCHSCREEN # TOUCHSCREEN - deactivated see https://github.com/raspiblitz/raspiblitz/pull/4609#issuecomment-2144406124
if [ "${#touchscreen}" -gt 0 ]; then # if [ "${#touchscreen}" -gt 0 ]; then
echo "Provisioning Touchscreen - run config script" >> ${logFile} # echo "Provisioning Touchscreen - run config script" >> ${logFile}
/home/admin/_cache.sh set message "Setup Touchscreen" # /home/admin/_cache.sh set message "Setup Touchscreen"
/home/admin/config.scripts/blitz.touchscreen.sh ${touchscreen} >> ${logFile} 2>&1 # /home/admin/config.scripts/blitz.touchscreen.sh ${touchscreen} >> ${logFile} 2>&1
else # else
echo "Provisioning Touchscreen - not active" >> ${logFile} # echo "Provisioning Touchscreen - not active" >> ${logFile}
fi # fi
# UPS # UPS
if [ "${#ups}" -gt 0 ]; then if [ "${#ups}" -gt 0 ]; then