Automated Change by GitHub Action

This commit is contained in:
okunze 2024-03-22 21:05:10 +00:00 committed by github-actions[bot]
parent c48103aa3b
commit 7e1e9a7b36

View File

@ -647,15 +647,20 @@ else
fi fi
fi fi
if [ "$CHECKPLATFORM" = "Raspbian" ]
then
if [ -f "$eepromrpiscript" ] if [ -f "$eepromrpiscript" ]
then then
sudo rpi-eeprom-update
sudo apt-get update && sudo apt-get upgrade -y sudo apt-get update && sudo apt-get upgrade -y
sudo rpi-eeprom-update
# EEPROM Config Script # EEPROM Config Script
sudo $eepromconfigscript sudo $eepromconfigscript
set_maxusbcurrent
fi fi
else
echo "WARNING: EEPROM not updated. Please run this under Raspberry Pi OS"
fi
set_maxusbcurrent
echo "*********************" echo "*********************"