1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

iiab-firmware-warn.sh: Explain 'sudo rm /.fw_replaced'

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

View file

@ -3,7 +3,7 @@
if [ -f /.fw_replaced ]; then if [ -f /.fw_replaced ]; then
echo -e "\n \033[31;5mWiFi Firmware has been replaced, per iiab/iiab#823.\033[0m" echo -e "\n \033[31;5mWiFi Firmware has been replaced, per iiab/iiab#823.\033[0m"
if grep -q '^wifi_hotspot_capacity_rpi_fix:\s\+[fF]alse\b' /etc/iiab/local_vars.yml ; then 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" echo -e " \033[31;5mRun 'sudo rm /.fw_replaced' if you want these warnings to stop.\033[0m\n"
else else
echo -e " \033[31;5mReboot is required to activate.\033[0m\n" echo -e " \033[31;5mReboot is required to activate.\033[0m\n"
fi fi