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:
parent
8e051e3336
commit
e7d51c2d7a
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue