mirror of
https://github.com/armbian/build
synced 2025-09-24 19:47:06 +07:00
Add support for MOTD logo colors
- we might want to have different welcome colors for stable and nightly images - this adds another branding option alongside with VENDOR, VENDORURL, VENDORSUPPORT, ...
This commit is contained in:
@@ -119,7 +119,11 @@ if systemctl is-active --quiet service hostapd && [[ -f /etc/hostapd/hostapd.con
|
||||
fi
|
||||
|
||||
# Display software vendor logo
|
||||
echo -e "\e[1;91m$(figlet -f small " ${VENDOR}")\e[0m"
|
||||
if [[ -n "${VENDORCOLOR}" ]]; then
|
||||
echo -e "\e[38;2;${VENDORCOLOR}m$(figlet -f small " ${VENDOR}")\e[0m"
|
||||
else
|
||||
echo -e "\e[1;91m$(figlet -f small " ${VENDOR}")\e[0m"
|
||||
fi
|
||||
|
||||
# Read RPI model from cpuinfo
|
||||
if [[ ${BOARD:-} == rpi4b ]]; then
|
||||
|
||||
Reference in New Issue
Block a user