1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

iiab-firmware-warn.sh: Turn off warning tip, if wifi_hotspot_capacity_rpi_fix changed

This commit is contained in:
A Holt 2021-08-24 12:08:57 -04:00 committed by GitHub
parent 8e051e3336
commit e7d51c2d7a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,5 +2,9 @@
if [ -f /.fw_replaced ]; 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"
if grep -q '^wifi_hotspot_capacity_rpi_fix:\s\+[fF]alse\b' /etc/iiab/local_vars.yml ; then
echo -e " \033[31;5mYou can delete /.fw_replaced if you want these warnings to stop.\033[0m\n"
else
echo -e " \033[31;5mReboot is required to activate.\033[0m\n"
fi
fi