mute warning on build set display

This commit is contained in:
rootzoll 2023-05-03 18:39:03 +02:00
parent 4c461a2055
commit 3f2c2b2ff8

View File

@ -140,7 +140,7 @@ if [ "${command}" == "rotate" ]; then
sed -i "s/^dtoverlay=.*/dtoverlay=waveshare35a:rotate=90/g" /boot/config.txt
rm /etc/X11/xorg.conf.d/40-libinput.conf 2>/dev/null
/home/admin/config.scripts/blitz.conf.sh set lcdrotate 1 2>/dev/null
/home/admin/config.scripts/blitz.conf.sh set lcdrotate 1 1>/dev/null 2>/dev/null
echo "# OK - a restart is needed: sudo shutdown -r now"
# TURN ROTATE OFF
@ -165,7 +165,7 @@ EOF
fi
# update raspiblitz conf
/home/admin/config.scripts/blitz.conf.sh set lcdrotate 0 2>/dev/null
/home/admin/config.scripts/blitz.conf.sh set lcdrotate 0 1>/dev/null 2>/dev/null
echo "OK - a restart is needed: sudo shutdown -r now"
else