armbian-build/scripts/update-motd.d/10-header
2016-06-17 18:59:33 +03:00

10 lines
275 B
Bash

#!/bin/bash
export TERM=linux
. /etc/os-release
KERNELID=$(uname -r)
clear
toilet -f standard -F metal $([ -f /var/run/machine.id ] && cat /var/run/machine.id || cat /etc/hostname)
echo ""
printf 'Welcome to \e[0;91mARMBIAN\x1B[0m %s %s\n' "$PRETTY_NAME $KERNELID"
echo ""