Moving armbian-config to FAQ motd
This commit is contained in:
parent
ce802b7a3a
commit
00ed67e03d
@ -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
|
||||
@ -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") &
|
||||
Loading…
Reference in New Issue
Block a user