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