Skip to content

Commit

Permalink
Automated Change by GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
okunze authored and github-actions[bot] committed Mar 22, 2024
1 parent c48103a commit 7e1e9a7
Showing 1 changed file with 12 additions and 7 deletions.
19 changes: 12 additions & 7 deletions source/argon1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -647,16 +647,21 @@ else
fi
fi


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

set_maxusbcurrent


echo "*********************"
echo " $setupmode Completed "
Expand Down

0 comments on commit 7e1e9a7

Please sign in to comment.