diff --git a/packages/bsp/common/usr/lib/armbian/armbian-firstlogin b/packages/bsp/common/usr/lib/armbian/armbian-firstlogin index dc79a1a76a..14010ac5f1 100755 --- a/packages/bsp/common/usr/lib/armbian/armbian-firstlogin +++ b/packages/bsp/common/usr/lib/armbian/armbian-firstlogin @@ -6,6 +6,10 @@ # License version 2. This program is licensed "as is" without any # warranty of any kind, whether express or implied. +# read distribution status +[[ -f /etc/lsb-release ]] && . /etc/lsb-release +[[ -n "$DISTRIB_CODENAME" && -f /etc/armbian-distribution-status ]] && DISTRIBUTION_STATUS=$(cat /etc/armbian-distribution-status | grep "$DISTRIB_CODENAME" | cut -d"=" -f2) + . /etc/armbian-release @@ -352,6 +356,8 @@ if [[ -f /root/.not_logged_in_yet && -n $(tty) ]]; then echo -e "\nSupport status: \e[0;31mno support\x1B[0m (edge kernel branch)" elif [[ "$DISTRIBUTION_STATUS" != "supported" ]]; then echo -e "\nSupport status: \e[0;31mno support\x1B[0m (unsupported userspace)" + elif [[ "$BOARD_TYPE" != "supported" ]]; then + echo -e "\nSupport status: \e[0;31mcommunity support\x1B[0m (looking for a dedicated maintainer)" fi else