Set TERM to linux at first login. In some cases this prevent from seeing weird charactes in ncurses menu

This commit is contained in:
Igor Pecovnik 2020-08-15 22:11:15 +02:00
parent 501e033b70
commit 22ad8abfcf

View File

@ -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