Tiny bugfix - suppress error only

This commit is contained in:
Igor Pecovnik 2017-04-07 10:41:58 +02:00
parent de059a12a9
commit 751442c5d6

View File

@ -47,7 +47,7 @@ if [ -f /root/.not_logged_in_yet ] && [ -n "$BASH_VERSION" ] && [ "$-" != "${-#*
done
trap - INT TERM EXIT
# check for H3/legacy kernel to promote h3disp utility
tmp=$(bin2fex </boot/script.bin 2>/dev/null | grep -w "hdmi_used = 1")
if [ -f /boot/script.bin ]; then tmp=$(bin2fex </boot/script.bin 2>/dev/null | grep -w "hdmi_used = 1"); fi
if [ "$LINUXFAMILY" = "sun8i" ] && [ "$BRANCH" = "default" ] && [ -n "$tmp" ]; then
setterm -default
echo -e "\nYour display settings are currently 720p (1280x720). To change this use the"