build/scripts/update-motd.d/99-point-to-faq
2017-04-29 10:45:20 +03:00

16 lines
No EOL
340 B
Bash

#!/bin/bash
THIS_SCRIPT="point-to-faq"
MOTD_DISABLE=""
[[ -f /etc/default/armbian-motd ]] && . /etc/default/armbian-motd
for f in $MOTD_DISABLE; do
[[ $f == $THIS_SCRIPT ]] && exit 0
done
. /etc/armbian-release
printf "New to Armbian? Check the documentation first: \e[0;92mhttps://docs.armbian.com\x1B[0m\n\n"
(sleep 1 && rm "$0") &