From 751442c5d69e31ee3fb97605268dbe9d45e62344 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Fri, 7 Apr 2017 10:41:58 +0200 Subject: [PATCH] Tiny bugfix - suppress error only --- scripts/check_first_login.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/check_first_login.sh b/scripts/check_first_login.sh index 6c49c07aaf..236cbeee46 100644 --- a/scripts/check_first_login.sh +++ b/scripts/check_first_login.sh @@ -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 /dev/null | grep -w "hdmi_used = 1") + if [ -f /boot/script.bin ]; then tmp=$(bin2fex /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"