diff --git a/roles/firmware/templates/iiab-check-firmware b/roles/firmware/templates/iiab-check-firmware index 94c690314..cd480692a 100644 --- a/roles/firmware/templates/iiab-check-firmware +++ b/roles/firmware/templates/iiab-check-firmware @@ -50,13 +50,13 @@ if ! $(diff -q /lib/firmware/brcm/brcmfmac43430-sdio.clm_blob.iiab /lib/firmware fi if [ "$WARN" = "1" ]; then - echo -e "\n \033[31;5mWiFi Firmware has been replaced, per iiab/iiab#823.\033[0m" - echo -e " \033[31;5mReboot is required to activate.\033[0m\n" + echo -e "\n \e[41;1mWiFi Firmware has been replaced, per iiab/iiab#823.\e[0m" + echo -e " \e[41;1mReboot is required to activate.\e[0m\n" touch /.fw_replaced #echo "rebooting..." #reboot else - echo -e " WiFi Firmware check \033[32;5mPASSED\033[0m, per iiab/iiab#823." + echo -e " WiFi Firmware check \e[42;1mPASSED\e[0m, per iiab/iiab#823." # Or \e[92m for green on black echo -e " (Assuming you've rebooted since it was replaced!)\n" if [ -f /.fw_replaced ]; then rm /.fw_replaced diff --git a/roles/firmware/templates/iiab-firmware-warn.sh b/roles/firmware/templates/iiab-firmware-warn.sh index a5eddfd1e..55120ffbd 100644 --- a/roles/firmware/templates/iiab-firmware-warn.sh +++ b/roles/firmware/templates/iiab-firmware-warn.sh @@ -1,10 +1,12 @@ #!/bin/bash if [ -f /.fw_replaced ]; then - echo -e "\n \033[31;5mWiFi Firmware has been replaced, per iiab/iiab#823.\033[0m" + echo -e "\n \e[41;1mWiFi Firmware has been replaced, per iiab/iiab#823.\e[0m" if grep -q '^wifi_hotspot_capacity_rpi_fix:\s\+[fF]alse\b' /etc/iiab/local_vars.yml ; then - echo -e " \033[31;5mRun 'sudo rm /.fw_replaced' if you want these warnings to stop.\033[0m\n" + echo -e " \e[100;1mIf you want these warnings to stop, run:\e[0m" + echo + echo -e " \e[100;1msudo rm /.fw_replaced\e[0m\n" else - echo -e " \033[31;5mReboot is required to activate.\033[0m\n" + echo -e " \e[41;1mReboot is required to activate.\e[0m\n" fi fi