#!/bin/sh

export TERM=linux

. /etc/os-release

if [ -e /sys/firmware/devicetree/base/model ]; then
	figlet -f standard $(cat /sys/firmware/devicetree/base/model)
	echo ""
elif [ -e /sys/devices/soc0/machine ]; then
	figlet -f standard $(cat /sys/devices/soc0/machine)
	echo ""
fi
printf "Welcome to $PRETTY_NAME"
echo ""
