From 22ad8abfcfd65d7b09310ccf3a40fa947b420299 Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Sat, 15 Aug 2020 22:11:15 +0200 Subject: [PATCH] Set TERM to linux at first login. In some cases this prevent from seeing weird charactes in ncurses menu --- packages/bsp/common/etc/profile.d/armbian-check-first-login.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/bsp/common/etc/profile.d/armbian-check-first-login.sh b/packages/bsp/common/etc/profile.d/armbian-check-first-login.sh index 72f77e9a10..8b4a027758 100644 --- a/packages/bsp/common/etc/profile.d/armbian-check-first-login.sh +++ b/packages/bsp/common/etc/profile.d/armbian-check-first-login.sh @@ -286,4 +286,5 @@ if [ -f /root/.not_logged_in_yet ] && [ -n "$BASH_VERSION" ] && [ "$-" != "${-#* printf "\e[0;91mPlease reboot the system now \x1B[0m \n\n" fi fi + export TERM=linux fi