diff --git a/scripts/check_first_login_reboot.sh b/scripts/check_first_login_reboot.sh index 199c84248c..ae17707069 100644 --- a/scripts/check_first_login_reboot.sh +++ b/scripts/check_first_login_reboot.sh @@ -4,11 +4,6 @@ if [ "$-" != "${-#*i}" ]; then printf "\n" if [ -f "/var/run/.reboot_required" ]; then - printf "[\e[0;91m Kernel was updated, please reboot\x1B[0m ]" - fi - if [ -f "/usr/bin/armbian-config" ]; then - printf "[\e[0;31m General system configuration\x1B[0m: \e[1marmbian-config\e[0m ]\n\n" - elif [ -f "/var/run/.reboot_required" ]; then - printf "\n\n" + printf "[\e[0;91m Kernel was updated, please reboot\x1B[0m ]\n\n" fi fi \ No newline at end of file diff --git a/scripts/update-motd.d/99-point-to-faq b/scripts/update-motd.d/99-point-to-faq index 8fb8c33f09..9c6e2336eb 100644 --- a/scripts/update-motd.d/99-point-to-faq +++ b/scripts/update-motd.d/99-point-to-faq @@ -2,6 +2,10 @@ . /etc/armbian-release -printf "New to Armbian? Check the documentation first: \e[0;92mdocs.armbian.com\x1B[0m\n\n" +printf "New to Armbian? Check the documentation first: \e[0;92mhttps://docs.armbian.com\x1B[0m\n\n" -(sleep 1 && rm "$0") & +if [ -f "/usr/bin/armbian-config" ]; then + printf "General system configuration: \e[1marmbian-config\e[0m\n\n" +fi + +(sleep 1 && rm "$0") & \ No newline at end of file