Automated Change by GitHub Action

This commit is contained in:
okunze authored and github-actions[bot] committed 2024-03-22 21:05:10 +00:00
1 parent c48103aa3b
commit 7e1e9a7b36
1 file changed
+9 -4
+9 -4
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 "