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,16 +647,21 @@ else
fi
fi
if [ -f "$eepromrpiscript" ]
if [ "$CHECKPLATFORM" = "Raspbian" ]
then
sudo rpi-eeprom-update
if [ -f "$eepromrpiscript" ]
then
sudo apt-get update && sudo apt-get upgrade -y
sudo rpi-eeprom-update
# EEPROM Config Script
sudo $eepromconfigscript
set_maxusbcurrent
fi
else
echo "WARNING: EEPROM not updated. Please run this under Raspberry Pi OS"
fi
set_maxusbcurrent
echo "*********************"
echo " $setupmode Completed "